blob: 74030e583dac2258dabefa062627878684e70db3 [file] [log] [blame]
Roman Elizarove1a56522018-04-04 10:31:08 +03001
2// Platform-specific configuration to compile JVM modules
3
4apply plugin: 'kotlin-platform-jvm'
5
6sourceCompatibility = 1.6
7targetCompatibility = 1.6
8
Roman Elizarov31452902018-04-11 13:58:19 +03009kotlin.experimental.coroutines "enable"
10
Roman Elizarove1a56522018-04-04 10:31:08 +030011dependencies {
12 compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
13 testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
14 testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
15 testCompile "junit:junit:$junit_version"
16}
Roman Elizarov31452902018-04-11 13:58:19 +030017
18repositories {
19 jcenter()
20 maven { url "https://kotlin.bintray.com/kotlinx" }
21 maven { url "https://dl.bintray.com/devexperts/Maven/" }
22}
23
24tasks.withType(Test) {
25 testLogging {
26 showStandardStreams = true
27 events "passed", "failed"
28 }
29 def stressTest = project.properties['stressTest']
30 if (stressTest != null) systemProperties['stressTest'] = stressTest
31}