Class FeaturesAndBundlesPublisher

java.lang.Object
com.diffplug.gradle.eclipserunner.EclipseApp
com.diffplug.gradle.p2.FeaturesAndBundlesPublisher

public class FeaturesAndBundlesPublisher extends EclipseApp
Models the FeaturesAndBundlesPublisher application ([eclipse docs](https://wiki.eclipse.org/Equinox/p2/Publisher#Features_And_Bundles_Publisher_Application)).
  • Constructor Details

    • FeaturesAndBundlesPublisher

      public FeaturesAndBundlesPublisher()
      Creates a FeaturesAndBundlesPublisher.
  • Method Details

    • source

      public void source(File file)
      Sets the given file to be the source.
    • metadataRepository

      public void metadataRepository(File file)
      Sets the given location to be the target for metadata.
    • artifactRepository

      public void artifactRepository(File file)
      Adds the given location to be the target for artifacts.
    • configs

      public void configs(com.diffplug.common.swt.os.SwtPlatform... platforms)
      Adds the given location to be the target for artifacts.
    • configs

      public void configs(Iterable<com.diffplug.common.swt.os.SwtPlatform> platforms)
      Adds the given location to be the target for artifacts.
    • compress

      public void compress()
      Compresses the output index.
    • inplace

      public void inplace()
      Performs the publishing in-place - no need to specify metadataRepository(File) or artifactRepository(File).
    • publishArtifacts

      public void publishArtifacts()
      Signals that artifacts should be exported.
    • append

      public void append()
      Marks that the destination repositories should be appended to.
    • runUsingBootstrapper

      public void runUsingBootstrapper() throws Exception
      Runs this application, downloading a small bootstrapper if necessary.
      Throws:
      Exception
    • runUsingBootstrapper

      public void runUsingBootstrapper(Project project) throws Exception
      Runs this application, downloading a small bootstrapper if necessary.
      Throws:
      Exception