3db1613167
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.
31 lines
709 B
Groovy
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'
|
|
} |