Files
kotlin-fork/libraries/tools/binary-compatibility-validator/build.gradle
T
Ilya Gorbunov dea149ab47 Advance Kotlin version used in build to 1.7
Also update kotlinx-metadata-jvm used in kotlin-reflect build to 0.4.1
in order to support reading Kotlin 1.7 metadata version.
2022-03-05 22:15:59 +03:00

48 lines
1.2 KiB
Groovy

apply plugin: 'kotlin'
apply plugin: 'jps-compatible'
configurations {
testArtifacts
}
dependencies {
api("org.jetbrains.kotlinx:binary-compatibility-validator:0.7.1")
api("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.4.1")
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')
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'
}