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:
@@ -63,11 +63,6 @@ configurations {
|
|||||||
builtins
|
builtins
|
||||||
}
|
}
|
||||||
|
|
||||||
task originalStdlibJar(type: Jar) {
|
|
||||||
baseName = 'original-kotlin-stdlib'
|
|
||||||
from sourceSets.main.output
|
|
||||||
}
|
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
manifestAttributes(manifest, project, 'Main', true)
|
manifestAttributes(manifest, project, 'Main', true)
|
||||||
from("${rootDir}/dist/builtins")
|
from("${rootDir}/dist/builtins")
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ dependencies {
|
|||||||
testArtifacts project(':kotlin-reflect')
|
testArtifacts project(':kotlin-reflect')
|
||||||
// legacy
|
// legacy
|
||||||
testArtifacts project(':kotlin-runtime')
|
testArtifacts project(':kotlin-runtime')
|
||||||
testArtifacts files(project(':kotlin-stdlib').tasks.originalStdlibJar)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
-2863
File diff suppressed because it is too large
Load Diff
+1
-6
@@ -32,15 +32,10 @@ class RuntimePublicAPITest {
|
|||||||
snapshotAPIAndCompare("../../stdlib/runtime/build/libs", "kotlin-runtime", listOf("../runtime-declarations.json"), listOf("kotlin.jvm.internal"))
|
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() {
|
@Test fun kotlinStdlibRuntimeMerged() {
|
||||||
snapshotAPIAndCompare(
|
snapshotAPIAndCompare(
|
||||||
"../../stdlib/build/libs", "kotlin-stdlib",
|
"../../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")
|
listOf("kotlin.jvm.internal")
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user