Files
kotlin-fork/libraries/tools/binary-compatibility-validator/build.gradle
T
Ilya Gorbunov 3db1613167 Setup dist task to assemble libs for compiler distribution.
Produce special stdlib artifact with annotations for dist.
Put js outputs to dist, they're required for JS backend tests.

Use kotlin-compiler for maven, which has all required dependencies bundled.
Clean local directory repository on clean.

Change paths in tests to compiled artifacts.
2017-04-06 20:32:37 +03:00

31 lines
709 B
Groovy

apply plugin: 'kotlin'
dependencies {
compile project(':kotlin-stdlib')
compile 'org.ow2.asm:asm-debug-all:5.0.4'
compile 'com.google.code.gson:gson:2.6.2'
testCompile project(':kotlin-test:kotlin-test-junit')
}
sourceSets {
test {
java {
srcDir "src/test/kotlin"
}
}
}
compileTestKotlin {
kotlinOptions {
freeCompilerArgs = ['-Xdump-declarations-to', "${buildDir}/cases-declarations.json"]
}
}
test {
dependsOn cleanCompileTestKotlin
dependsOn(':kotlin-runtime:jar')
dependsOn(':kotlin-stdlib:originalStdlibJar')
systemProperties['overwrite.output'] = System.getProperty("overwrite.output", "false")
jvmArgs '-ea'
}