KT-55700: fix kotlin-test-sources.jar in compiler lib
to contain both jvm and common parts as it is made for maven artifacts distribution
This commit is contained in:
committed by
Space Team
parent
607b8f6b61
commit
3cb0d489bf
@@ -142,6 +142,14 @@ val combinedSourcesJar by tasks.registering(Jar::class) {
|
||||
}
|
||||
}
|
||||
|
||||
val combinedJvmSourcesJar by configurations.creating {
|
||||
isCanBeConsumed = true
|
||||
isCanBeResolved = false
|
||||
}
|
||||
|
||||
artifacts {
|
||||
add(combinedJvmSourcesJar.name, combinedSourcesJar)
|
||||
}
|
||||
|
||||
val rootComponent = componentFactory.adhoc("root").apply {
|
||||
addVariantsFromConfiguration(jvmApi) {
|
||||
|
||||
Reference in New Issue
Block a user