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 1.8.2 (latest)

1.8.2

Created 19 January 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).

Using the plugins DSL:

plugins {
  id("org.cyclonedx.bom") version "1.8.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.cyclonedx:cyclonedx-gradle-plugin:1.8.2")
  }
}

apply(plugin = "org.cyclonedx.bom")

Using the plugins DSL:

plugins {
  id "org.cyclonedx.bom" version "1.8.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.cyclonedx:cyclonedx-gradle-plugin:1.8.2"
  }
}

apply plugin: "org.cyclonedx.bom"

Learn how to apply plugins to subprojects