File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ plugins {
1717 id(" maven-publish" )
1818 id(" base" )
1919 id(" de.itemis.mps.gradle.launcher" ) version " 2.8.0.+"
20- id(" org.cyclonedx.bom" ) version " 2.4.1 "
20+ id(" org.cyclonedx.bom" ) version " 3.1.0 "
2121
2222 id(" com.specificlanguages.mps" ) version " 2.0.0-pre4"
2323}
@@ -270,12 +270,10 @@ tasks.register<Delete>("cleanMps") {
270270 })
271271}
272272
273- tasks.cyclonedxBom {
274- destination = reportsDir.map { it.asFile }
275- outputName = " sbom"
276- outputFormat = " json"
277- includeLicenseText = false
278- includeConfigs = provider { bundledDependencies.map { it.configuration.name } }
273+ tasks.cyclonedxDirectBom {
274+ jsonOutput = reportsDir.get().file(" sbom.json" )
275+ // Generate JSON only
276+ xmlOutput.unsetConvention()
279277}
280278
281279tasks.clean {
You can’t perform that action at this time.
0 commit comments