Package com.diffplug.gradle.p2
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)).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
EclipseApp.AntRunner
-
-
Field Summary
-
Fields inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
args
-
-
Constructor Summary
Constructors Constructor Description FeaturesAndBundlesPublisher()Creates a FeaturesAndBundlesPublisher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend()Marks that the destination repositories should be appended to.voidartifactRepository(File file)Adds the given location to be the target for artifacts.voidcompress()Compresses the output index.voidconfigs(com.diffplug.common.swt.os.SwtPlatform... platforms)Adds the given location to be the target for artifacts.voidconfigs(Iterable<com.diffplug.common.swt.os.SwtPlatform> platforms)Adds the given location to be the target for artifacts.voidinplace()Performs the publishing in-place - no need to specifymetadataRepository(File)orartifactRepository(File).voidmetadataRepository(File file)Sets the given location to be the target for metadata.voidpublishArtifacts()Signals that artifacts should be exported.voidrunUsingBootstrapper()Runs this application, downloading a small bootstrapper if necessary.voidrunUsingBootstrapper(Project project)Runs this application, downloading a small bootstrapper if necessary.voidsource(File file)Sets the given file to be the source.-
Methods inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
addArg, addArg, clean, completeState, consolelog, runUsing, toArgList, toString
-
-
-
-
Method Detail
-
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 specifymetadataRepository(File)orartifactRepository(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 ExceptionRuns this application, downloading a small bootstrapper if necessary.- Throws:
Exception
-
-