Skip to content

Commit 02cf019

Browse files
committed
Address deprecation in cyclonedx plugin
1 parent 109ea58 commit 02cf019

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gradle/plugins/src/main/kotlin/org.example.gradle.report.sbom.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ plugins {
66
// Generate a Software Bill of Materials for the software product
77
tasks.cyclonedxBom {
88
includeConfigs.add(configurations.runtimeClasspath.name)
9-
destination = layout.buildDirectory.dir("reports/sbom").get().asFile
9+
jsonOutput = layout.buildDirectory.file("reports/sbom/bom.json")
10+
xmlOutput = layout.buildDirectory.file("reports/sbom/bom.xml")
1011
}

0 commit comments

Comments
 (0)