d9656a939b
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.
47 lines
1.2 KiB
Groovy
47 lines
1.2 KiB
Groovy
apply plugin: 'kotlin'
|
|
|
|
configurations {
|
|
testArtifacts
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':kotlin-stdlib')
|
|
compile project(':kotlinx-metadata')
|
|
compile project(':kotlinx-metadata-jvm')
|
|
compile 'org.ow2.asm:asm:6.0'
|
|
compile 'org.ow2.asm:asm-tree:6.0'
|
|
testCompile project(':kotlin-test:kotlin-test-junit')
|
|
|
|
testArtifacts project(':kotlin-stdlib')
|
|
testArtifacts project(':kotlin-stdlib-jre7')
|
|
testArtifacts project(':kotlin-stdlib-jre8')
|
|
testArtifacts project(':kotlin-stdlib-jdk7')
|
|
testArtifacts project(':kotlin-stdlib-jdk8')
|
|
testArtifacts project(':kotlin-reflect')
|
|
// legacy
|
|
testArtifacts project(':kotlin-runtime')
|
|
}
|
|
|
|
sourceSets {
|
|
test {
|
|
java {
|
|
srcDir "src/test/kotlin"
|
|
}
|
|
}
|
|
}
|
|
|
|
compileTestKotlin {
|
|
kotlinOptions {
|
|
freeCompilerArgs = ["-Xnormalize-constructor-calls=enable"]
|
|
}
|
|
}
|
|
|
|
test {
|
|
dependsOn configurations.testArtifacts
|
|
|
|
systemProperty 'overwrite.output', System.getProperty("overwrite.output", "false")
|
|
systemProperty 'kotlinVersion', project.version
|
|
systemProperty 'testCasesClassesDirs', sourceSets.test.output.classesDirs.asPath
|
|
jvmArgs '-ea'
|
|
}
|