Build: Publish the new compiler test infrastructure

This commit is contained in:
Steffi Stumpos
2021-04-16 15:57:46 -06:00
committed by Vyacheslav Gerasimov
parent af5e2f3c93
commit 8baf570ee7
5 changed files with 20 additions and 28 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ dependencies {
sources(project(":kotlin-stdlib-js", configuration = "distSources"))
sources(project(":kotlin-reflect", configuration = "sources"))
distStdlibMinimalForTests(project(":kotlin-stdlib:jvm-minimal-for-test"))
distStdlibMinimalForTests(project(":kotlin-stdlib-jvm-minimal-for-test"))
distJSContents(project(":kotlin-stdlib-js", configuration = "distJs"))
distJSContents(project(":kotlin-test:kotlin-test-js", configuration = "distJs"))
@@ -2,20 +2,22 @@ plugins {
java
}
val embedded by configurations
val compilerModules: Array<String> by rootProject.extra
dependencies {
embedded(projectTests(":compiler:tests-common")) { isTransitive = false }
compilerModules.forEach {
embedded(project(it)) { isTransitive = false }
}
embedded(projectTests(":compiler:tests-common-jvm6")) { isTransitive = false }
embedded(projectTests(":compiler:test-infrastructure")) { isTransitive = false }
embedded(projectTests(":compiler:test-infrastructure-utils")) { isTransitive = false }
embedded(projectTests(":compiler:tests-compiler-utils")) { isTransitive = false }
embedded(projectTests(":compiler:tests-common-new")) { isTransitive = false }
embedded(protobufFull())
embedded(kotlinBuiltins())
}
publish()
runtimeJar()
sourcesJar {
from {
project(":compiler:tests-common").sourceSets["test"].allSource
}
}
javadocJar()
sourcesJar()
javadocJar()