Package aQute.bnd.gradle
Class BndBuilderPlugin
java.lang.Object
aQute.bnd.gradle.BndBuilderPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public class BndBuilderPlugin
extends Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
BndBuilderPlugin for Gradle.
The plugin name is biz.aQute.bnd.builder.
This plugin applies the java plugin to a project and modifies the jar task by
adding the bundle extension BundleTaskExtension, setting the
bndfile to "bnd.bnd", if the file exists, and building the jar file as a
bundle.
This plugin also defines a "baseline" configuration and a baseline task of
type Baseline. The baseline task will be set up with the default of
baselining the output of the jar task using the baseline configuration. The
baseline configuration default dependency will use the prior version of the
jar.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.gradle.api.Project project) Apply thebiz.aQute.bnd.builderplugin to the specified project.
-
Field Details
-
PLUGINID
Name of the plugin.- See Also:
-
-
Constructor Details
-
BndBuilderPlugin
public BndBuilderPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) Apply thebiz.aQute.bnd.builderplugin to the specified project.- Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-