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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the plugin.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default public constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(Object target)
    Apply the biz.aQute.bnd.workspace plugin.
    static aQute.bnd.build.Workspace
    getBndWorkspace(org.gradle.api.Project workspace)
    Return the Bnd Workspace for the specified Gradle project.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • BndWorkspacePlugin

      public BndWorkspacePlugin()
      Default public constructor.
  • 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.