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.6.0

1.6.0

Created 24 May 2022.

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.6.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "org.cyclonedx.bom"

Learn how to apply plugins to subprojects