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.

http://cyclonedx.org

Version 1.1.4 (latest)

Created 18 February 2020.

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.

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "org.cyclonedx.bom"

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects