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

Created 26 November 2019.

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "org.cyclonedx.bom"

Learn how to apply plugins to subprojects