Class BndWorkspacePlugin

java.lang.Object
aQute.bnd.gradle.BndWorkspacePlugin
All Implemented Interfaces:
org.gradle.api.Plugin<Object>

public class BndWorkspacePlugin extends Object implements 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 Details

  • Constructor Details

    • BndWorkspacePlugin

      public BndWorkspacePlugin()
  • Method Details

    • apply

      public void apply(Object target)
      Apply the biz.aQute.bnd.workspace plugin.
      Specified by:
      apply in interface org.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.