[stdlib-mpp] Configure SBOM for published artifacts KT-53791
This commit is contained in:
committed by
Space Team
parent
2688398361
commit
0072189fb1
@@ -16,6 +16,7 @@ plugins {
|
||||
signing
|
||||
}
|
||||
|
||||
description = "Kotlin Standard Library"
|
||||
|
||||
// TODO: JS
|
||||
// - ensure npm publishing
|
||||
@@ -853,6 +854,13 @@ publishing {
|
||||
// Makes all variants from accompanying artifacts visible through `available-at`
|
||||
rootModule.include(js)
|
||||
}
|
||||
|
||||
publications {
|
||||
val rootModule by existing(MavenPublication::class)
|
||||
val jsModule by existing(MavenPublication::class)
|
||||
configureSbom("Main", "kotlin-stdlib", setOf("jvmRuntimeClasspath"), rootModule)
|
||||
configureSbom("Js", "kotlin-stdlib-js", setOf("jsRuntimeClasspath"), jsModule)
|
||||
}
|
||||
}
|
||||
|
||||
fun copyAttributes(from: AttributeContainer, to: AttributeContainer,) {
|
||||
|
||||
Reference in New Issue
Block a user