Skip to content

Commit 36e071c

Browse files
committed
1 parent a5b6ac6 commit 36e071c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

build.gradle

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -567,13 +567,9 @@ tasks.named('githubRelease').configure {
567567
dependsOn packageDistroWithDependencies
568568
}
569569

570-
cyclonedxBom {
571-
// SBOM destination directory
572-
destination = reportsDir
573-
// The file name for the generated SBOMs (before the file format suffix)
574-
outputName = "sbom"
575-
// The file format generated, can be xml, json or all for generating both
576-
outputFormat = "json"
570+
cyclonedxDirectBom {
571+
// destination directory and format
572+
jsonOutput = file("build/reports/sbom.json")
577573
// Don't include license texts in generated SBOMs
578574
includeLicenseText = false
579575
// Include runtime only deps (bundled libs, language libs, mps)

0 commit comments

Comments
 (0)