Do not produce libraries json declarations dump
It's no longer needed for checking binary compatibility. Clean build of these libraries is no longer required too. Cleanup build.gradle of binary-compatibility-validator.
This commit is contained in:
Generated
-3
@@ -10,9 +10,6 @@
|
||||
</option>
|
||||
<option name="taskNames">
|
||||
<list>
|
||||
<option value=":kotlin-runtime:clean" />
|
||||
<option value=":kotlin-stdlib:clean" />
|
||||
<option value=":kotlin-reflect:clean" />
|
||||
<option value=":tools:binary-compatibility-validator:cleanTest" />
|
||||
<option value=":tools:binary-compatibility-validator:test" />
|
||||
</list>
|
||||
|
||||
@@ -29,8 +29,7 @@ compileKotlin {
|
||||
freeCompilerArgs = ["-version",
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xnormalize-constructor-calls=enable",
|
||||
"-module-name", "kotlin-reflection",
|
||||
"-Xdump-declarations-to=${buildDir}/reflect-declarations.json"]
|
||||
"-module-name", "kotlin-reflection"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,6 @@ compileKotlin {
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xnormalize-constructor-calls=enable",
|
||||
"-Xdump-declarations-to=${buildDir}/stdlib-jdk7-declarations.json",
|
||||
"-module-name", project.name
|
||||
]
|
||||
}
|
||||
|
||||
@@ -63,7 +63,6 @@ compileKotlin {
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xnormalize-constructor-calls=enable",
|
||||
"-Xdump-declarations-to=${buildDir}/stdlib-jdk8-declarations.json",
|
||||
"-module-name", project.name
|
||||
]
|
||||
}
|
||||
|
||||
@@ -53,7 +53,6 @@ compileKotlin {
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xnormalize-constructor-calls=enable",
|
||||
"-Xdump-declarations-to=${buildDir}/stdlib-jre7-declarations.json",
|
||||
"-module-name", project.name
|
||||
]
|
||||
}
|
||||
|
||||
@@ -56,7 +56,6 @@ compileKotlin {
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xnormalize-constructor-calls=enable",
|
||||
"-Xdump-declarations-to=${buildDir}/stdlib-jre8-declarations.json",
|
||||
"-module-name", project.name
|
||||
]
|
||||
}
|
||||
|
||||
@@ -174,7 +174,6 @@ compileKotlin {
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xnormalize-constructor-calls=enable",
|
||||
"-Xdump-declarations-to=${buildDir}/stdlib-declarations.json",
|
||||
"-module-name", "kotlin-stdlib"
|
||||
]
|
||||
}
|
||||
@@ -189,7 +188,6 @@ compileExperimentalKotlin {
|
||||
"-version",
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xdump-declarations-to=${buildDir}/stdlib-experimental-declarations.json",
|
||||
"-module-name", "kotlin-stdlib-experimental"
|
||||
]
|
||||
}
|
||||
@@ -205,7 +203,6 @@ compileCoroutinesKotlin {
|
||||
"-version",
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xmultifile-parts-inherit",
|
||||
"-Xdump-declarations-to=${buildDir}/stdlib-coroutines-declarations.json",
|
||||
"-module-name", "kotlin-stdlib-coroutines"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -43,7 +43,6 @@ compileKotlin {
|
||||
freeCompilerArgs = [
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xnormalize-constructor-calls=enable",
|
||||
"-Xdump-declarations-to=${buildDir}/runtime-declarations.json",
|
||||
"-Xmulti-platform",
|
||||
"-cp", "${rootDir}/dist/builtins",
|
||||
"-module-name", project.name
|
||||
|
||||
@@ -30,23 +30,17 @@ sourceSets {
|
||||
}
|
||||
}
|
||||
|
||||
def testCasesDeclarationsDump = "${buildDir}/cases-declarations.json".toString()
|
||||
|
||||
compileTestKotlin {
|
||||
kotlinOptions {
|
||||
freeCompilerArgs = ["-Xdump-declarations-to=$testCasesDeclarationsDump", "-Xnormalize-constructor-calls=enable"]
|
||||
freeCompilerArgs = ["-Xnormalize-constructor-calls=enable"]
|
||||
}
|
||||
}
|
||||
|
||||
test {
|
||||
dependsOn cleanCompileTestKotlin
|
||||
dependsOn configurations.testArtifacts
|
||||
|
||||
systemProperty 'overwrite.output', System.getProperty("overwrite.output", "false")
|
||||
systemProperty 'kotlinVersion', project.version
|
||||
systemProperty 'testCasesClassesDirs', sourceSets.test.output.classesDirs.asPath
|
||||
systemProperty 'testCasesDeclarations', testCasesDeclarationsDump
|
||||
jvmArgs '-ea'
|
||||
|
||||
ignoreFailures = System.getenv("kotlin_build_ignore_test_failures") == 'yes'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user