Package aQute.bnd.gradle
Class BndWorkspacePlugin
java.lang.Object
aQute.bnd.gradle.BndWorkspacePlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<Object>
BndWorkspacePlugin for Gradle.
The plugin name is biz.aQute.bnd.workspace.
This plugin can be applied to the Settings object in settings.gradle. It can also be applied to the root project in build.gradle.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApply thebiz.aQute.bnd.workspaceplugin.static aQute.bnd.build.WorkspacegetBndWorkspace(org.gradle.api.Project workspace) Return the Bnd Workspace for the specified Gradle project.
-
Field Details
-
PLUGINID
Name of the plugin.- See Also:
-
-
Constructor Details
-
BndWorkspacePlugin
public BndWorkspacePlugin()
-
-
Method Details
-
apply
Apply thebiz.aQute.bnd.workspaceplugin.- Specified by:
applyin interfaceorg.gradle.api.Plugin<Object>
-
getBndWorkspace
public static aQute.bnd.build.Workspace getBndWorkspace(org.gradle.api.Project workspace) throws Exception Return the Bnd Workspace for the specified Gradle project.- Parameters:
workspace- The Gradle project for the workspace.- Returns:
- The Bnd Workspace for the specified Gradle project.
- Throws:
Exception- An exception while finding the Bnd Workspace.
-