Do not produce original kotlin-stdlib public api dump anymore

It was produced from the kotlin-stdlib of 1.0 which was separate from the kotlin-runtime.
The actual dump is in kotlin-stdlib-runtime-merged.txt
This commit is contained in:
Ilya Gorbunov
2017-12-13 00:39:23 +03:00
parent 70236d4824
commit ae62cd6570
4 changed files with 1 additions and 2875 deletions
-5
View File
@@ -63,11 +63,6 @@ configurations {
builtins
}
task originalStdlibJar(type: Jar) {
baseName = 'original-kotlin-stdlib'
from sourceSets.main.output
}
jar {
manifestAttributes(manifest, project, 'Main', true)
from("${rootDir}/dist/builtins")
@@ -18,7 +18,6 @@ dependencies {
testArtifacts project(':kotlin-reflect')
// legacy
testArtifacts project(':kotlin-runtime')
testArtifacts files(project(':kotlin-stdlib').tasks.originalStdlibJar)
}
sourceSets {
@@ -32,15 +32,10 @@ class RuntimePublicAPITest {
snapshotAPIAndCompare("../../stdlib/runtime/build/libs", "kotlin-runtime", listOf("../runtime-declarations.json"), listOf("kotlin.jvm.internal"))
}
//@Ignore("No more original stdlib jar is produced")
@Test fun kotlinStdlib() {
snapshotAPIAndCompare("../../stdlib/build/libs", "original-kotlin-stdlib", listOf("../stdlib-declarations.json"))
}
@Test fun kotlinStdlibRuntimeMerged() {
snapshotAPIAndCompare(
"../../stdlib/build/libs", "kotlin-stdlib",
listOf("../stdlib-declarations.json", "../runtime-declarations.json", "../stdlib-experimental-declarations.json"),
listOf("../stdlib-declarations.json", "../stdlib-experimental-declarations.json"),
listOf("kotlin.jvm.internal")
)
}