d825af7a22
Use kotlinx-metadata-jvm:0.5.0 that supports reading 1.8.0 kotlin metadata version
50 lines
1.4 KiB
Groovy
50 lines
1.4 KiB
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'jps-compatible'
|
|
|
|
configurations {
|
|
testArtifacts
|
|
}
|
|
|
|
dependencies {
|
|
api("org.jetbrains.kotlinx:binary-compatibility-validator:0.9.0")
|
|
api("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.5.0")
|
|
|
|
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')
|
|
testArtifacts project(':kotlin-gradle-plugin-idea')
|
|
testArtifacts project(path: ":kotlin-gradle-plugin-idea-proto", configuration: "binaryValidationApiElements")
|
|
testArtifacts project(':kotlin-tooling-core')
|
|
|
|
testCompileOnly("org.ow2.asm:asm-tree:9.0") {
|
|
because(
|
|
"Necessary to compile copied 'filterOutAnnotated' implementation. " +
|
|
"Can be removed after https://github.com/Kotlin/binary-compatibility-validator/pull/75"
|
|
)
|
|
}
|
|
}
|
|
|
|
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'
|
|
}
|