Files
kotlin-fork/libraries/tools/binary-compatibility-validator/build.gradle
T
Ilya Gorbunov d2aae67e03 Replace kotlin-test project dependencies in the project
Use dependency helper function that chooses whether to take them
from the bootstrap repository or from a configuration of kotlin-test

KT-61969
2023-12-13 15:40:25 +00:00

35 lines
848 B
Groovy

apply plugin: 'kotlin'
configurations {
testArtifacts
}
dependencies {
api("org.jetbrains.kotlinx:binary-compatibility-validator:0.13.0")
api("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.7.0")
testApi RepoDependencies.kotlinTest(project, "junit")
testArtifacts project(':kotlin-stdlib')
testArtifacts project(':kotlin-stdlib-jdk7')
testArtifacts project(':kotlin-stdlib-jdk8')
testArtifacts project(':kotlin-reflect')
}
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'
}