org.cyclonedx.bom
Owner:
Steve Springett
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.
Version 1.3.0 (latest)
Created 01 April 2021.
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.3.0"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.cyclonedx:cyclonedx-gradle-plugin:1.3.0"
}
}
apply plugin: "org.cyclonedx.bom"
Using the plugins DSL:
plugins {
id("org.cyclonedx.bom") version "1.3.0"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("com.cyclonedx:cyclonedx-gradle-plugin:1.3.0")
}
}
apply(plugin = "org.cyclonedx.bom")