blob: c289b5057399138afba4cf3c63a766a278bfb081 [file] [log] [blame]
// Platform-specific configuration to compile JVM modules
apply plugin: 'kotlin-platform-jvm'
sourceCompatibility = 1.6
targetCompatibility = 1.6
kotlin.experimental.coroutines "enable"
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
// Workaround to make addSuppressed work in tests
testCompile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
testCompile "junit:junit:$junit_version"
}
repositories {
jcenter()
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url "https://dl.bintray.com/devexperts/Maven/" }
}
tasks.withType(Test) {
testLogging {
showStandardStreams = true
events "passed", "failed"
}
def stressTest = project.properties['stressTest']
if (stressTest != null) systemProperties['stressTest'] = stressTest
}