Add SBOM to dist compiler task
This commit is contained in:
committed by
Space Team
parent
04b39ba2e1
commit
bbe5418a85
@@ -395,6 +395,8 @@ val distJs = distTask<Sync>("distJs") {
|
||||
from(distJSContents)
|
||||
}
|
||||
|
||||
val sbom = configureSbom(setOf("runtimeClasspath", libraries.name, librariesStripVersion.name, compilerPlugins.name))
|
||||
|
||||
distTask<Copy>("dist") {
|
||||
destinationDir = File(distDir)
|
||||
|
||||
@@ -405,6 +407,7 @@ distTask<Copy>("dist") {
|
||||
|
||||
from(buildNumber)
|
||||
from(distStdlibMinimalForTests)
|
||||
fromSbom(sbom)
|
||||
}
|
||||
|
||||
inline fun <reified T : AbstractCopyTask> Project.distTask(
|
||||
@@ -416,5 +419,3 @@ inline fun <reified T : AbstractCopyTask> Project.distTask(
|
||||
rename(quote("-$bootstrapKotlinVersion"), "")
|
||||
block()
|
||||
}
|
||||
|
||||
configureSbom(setOf("runtimeClasspath", libraries.name, librariesStripVersion.name, compilerPlugins.name))
|
||||
Reference in New Issue
Block a user