Search Gradle plugins

org.cyclonedx.bom

The CycloneDX Gradle plugin creates an aggregate of all direct and transitive dependencies of a project and creates a valid CycloneDX bill-of-materials document from the results. CycloneDX is a lightweight BOM specification that is easily created, human readable, and simple to parse.

https://cyclonedx.org

Sources: https://github.com/CycloneDX/cyclonedx-gradle-plugin.git

Version 2.0.0-alpha-0

Created 03 December 2024.

The CycloneDX Gradle plugin creates an aggregate of all direct and transitive dependencies of a project and creates a valid CycloneDX Software Bill of Materials (SBOM).

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.cyclonedx.bom") version "2.0.0-alpha-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("org.cyclonedx.bom:org.cyclonedx.bom.gradle.plugin:2.0.0-alpha-0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.cyclonedx.bom")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.cyclonedx.bom:org.cyclonedx.bom.gradle.plugin:2.0.0-alpha-0")
      }
    }
    
    apply(plugin = "org.cyclonedx.bom")
  • Applying plugins to all subprojects .