Add SBOM configuration for all published artifacts by default
This commit is contained in:
committed by
Space Team
parent
e0a477f16d
commit
303b01b89b
@@ -250,7 +250,6 @@ dependencies {
|
||||
fatJarContentsStripVersions(commonDependency("one.util:streamex")) { isTransitive = false }
|
||||
}
|
||||
|
||||
configureSbom() // sbom for main maven publication
|
||||
publish()
|
||||
|
||||
// sbom for dist
|
||||
@@ -449,7 +448,7 @@ distTask<Copy>("dist") {
|
||||
|
||||
from(buildNumber)
|
||||
from(distStdlibMinimalForTests)
|
||||
from(distSbomTask.map { it.outputDirectory.file("dist.spdx.json") }) {
|
||||
from(distSbomTask.map { it.outputDirectory.file("Dist.spdx.json") }) {
|
||||
rename(".*", "${project.name}-${project.version}.spdx.json")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user