Skip to content

Commit ce65747

Browse files
Merge pull request #1618 from JetBrains/renovate/maintenance/mps20241-org.cyclonedx.bom-3.x
2 parents 13ab777 + 8905ab3 commit ce65747

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

build.gradle.kts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff 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

281279
tasks.clean {

0 commit comments

Comments
 (0)