Files
kotlin-fork/libraries/tools/binary-compatibility-validator/build.gradle
T
sebastian.sellmair 443faec30d [kpm] kgp-idea-proto: Create special binaryValidationApiElements configuration
This will be a 'lean' jar file (un-shadowed), which can later
be used by the binary-compatibility-validator to test the
API surface against.

^KT-52568 Verification Pending
2022-06-17 22:27:14 +00:00

49 lines
1.3 KiB
Groovy

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