ecc1f9fb0b
Migrate to the new API in kotlin-reflect build script, remove obsolete workarounds.
40 lines
906 B
Groovy
40 lines
906 B
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'jps-compatible'
|
|
|
|
configurations {
|
|
testArtifacts
|
|
}
|
|
|
|
dependencies {
|
|
api("org.jetbrains.kotlinx:binary-compatibility-validator:0.13.0")
|
|
api("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.6.2")
|
|
|
|
testApi project(':kotlin-test:kotlin-test-junit')
|
|
|
|
testArtifacts project(':kotlin-stdlib')
|
|
testArtifacts project(':kotlin-stdlib-jdk7')
|
|
testArtifacts project(':kotlin-stdlib-jdk8')
|
|
testArtifacts project(':kotlin-reflect')
|
|
}
|
|
|
|
pill {
|
|
variant = 'FULL'
|
|
}
|
|
|
|
sourceSets {
|
|
test {
|
|
java {
|
|
srcDir "src/test/kotlin"
|
|
}
|
|
}
|
|
}
|
|
|
|
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'
|
|
}
|