Package com.diffplug.gradle.p2
Class FeaturesAndBundlesPublisher
java.lang.Object
com.diffplug.gradle.eclipserunner.EclipseApp
com.diffplug.gradle.p2.FeaturesAndBundlesPublisher
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidappend()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.voidAdds 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.voidSignals that artifacts should be exported.voidRuns this application, downloading a small bootstrapper if necessary.voidrunUsingBootstrapper(Project project) Runs this application, downloading a small bootstrapper if necessary.voidSets the given file to be the source.Methods inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
addArg, addArg, clean, completeState, consolelog, runUsing, toArgList, toString
-
Constructor Details
-
FeaturesAndBundlesPublisher
public FeaturesAndBundlesPublisher()Creates a FeaturesAndBundlesPublisher.
-
-
Method Details
-
source
Sets the given file to be the source. -
metadataRepository
Sets the given location to be the target for metadata. -
artifactRepository
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
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
Runs this application, downloading a small bootstrapper if necessary.- Throws:
Exception
-
runUsingBootstrapper
Runs this application, downloading a small bootstrapper if necessary.- Throws:
Exception
-