Search Gradle plugins

biz.aQute.bnd

Owner: Bndtools

Gradle Plugin for developing OSGi bundles with Bnd. Bnd is the premiere tool for creating OSGi bundles. This gradle plugin is from the team that develops Bnd and is used by the Bnd team to build Bnd itself. See https://github.com/bndtools/bnd/blob/master/biz.aQute.bnd.gradle/README.md for information on using in a Bnd Workspace and a typical Gradle build.

https://github.com/bndtools/bnd

Version 7.1.0 (latest)

Created 27 November 2024.

Gradle Plugin for developing OSGi bundles with Bnd using the Bnd Workspace build. Bnd is the premiere tool for creating OSGi bundles. This Gradle plugin is from the team that develops Bnd and is used by the Bnd team to build Bnd itself. See https://github.com/bndtools/bnd/blob/7.1.0/gradle-plugins/README.md for information on using in a Bnd Workspace build.

Add this plugin to your build using the plugins DSL:

plugins {
  id("biz.aQute.bnd") version "7.1.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("biz.aQute.bnd:biz.aQute.bnd.gradle.plugin:7.1.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("biz.aQute.bnd")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("biz.aQute.bnd:biz.aQute.bnd.gradle.plugin:7.1.0")
      }
    }
    
    apply(plugin = "biz.aQute.bnd")
  • Applying plugins to all subprojects .