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 void
append()
Marks that the destination repositories should be appended to.void
artifactRepository(File file)
Adds the given location to be the target for artifacts.void
compress()
Compresses the output index.void
configs(com.diffplug.common.swt.os.SwtPlatform... platforms)
Adds the given location to be the target for artifacts.void
configs(Iterable<com.diffplug.common.swt.os.SwtPlatform> platforms)
Adds the given location to be the target for artifacts.void
inplace()
Performs the publishing in-place - no need to specifymetadataRepository(File)
orartifactRepository(File)
.void
metadataRepository(File file)
Sets the given location to be the target for metadata.void
publishArtifacts()
Signals that artifacts should be exported.void
runUsingBootstrapper()
Runs this application, downloading a small bootstrapper if necessary.void
runUsingBootstrapper(Project project)
Runs this application, downloading a small bootstrapper if necessary.void
source(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 Exception
Runs this application, downloading a small bootstrapper if necessary.- Throws:
Exception
-
-