Class BundlePlugin

java.lang.Object
com.elo.gradle.osgi.BundlePlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
Direct Known Subclasses:
DirectServicesPlugin, FlowsPlugin

public class BundlePlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
Bundle plugin, simplifies the building of OSGI bundles. Creates an OSGI bundle with the help of the BND tools.
  • Constructor Details

    • BundlePlugin

      public BundlePlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project projectToApply)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>
    • applyPlugin

      protected void applyPlugin(org.gradle.api.Project project)
    • getPluginId

      public String getPluginId()
      Returns the current id of the plugin.
      Returns:
      the current Id of the plug-in.
    • getConstraints

      protected Optional<BundleConstraints> getConstraints(org.gradle.api.Project project)
      Returns the BundleConstraints of the plugin.
      Returns:
      the constraints in a Optional
    • getActionFactory

      protected ActionFactory getActionFactory()
      Returns the factory for the Gradle actions.
      Returns:
      the factory