Roman Elizarov | e1a5652 | 2018-04-04 10:31:08 +0300 | [diff] [blame] | 1 | |
| 2 | // Platform-specific configuration to compile JVM modules |
| 3 | |
| 4 | apply plugin: 'kotlin-platform-jvm' |
| 5 | |
| 6 | sourceCompatibility = 1.6 |
| 7 | targetCompatibility = 1.6 |
| 8 | |
Roman Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame^] | 9 | kotlin.experimental.coroutines "enable" |
| 10 | |
Roman Elizarov | e1a5652 | 2018-04-04 10:31:08 +0300 | [diff] [blame] | 11 | dependencies { |
| 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 Elizarov | 3145290 | 2018-04-11 13:58:19 +0300 | [diff] [blame^] | 17 | |
| 18 | repositories { |
| 19 | jcenter() |
| 20 | maven { url "https://kotlin.bintray.com/kotlinx" } |
| 21 | maven { url "https://dl.bintray.com/devexperts/Maven/" } |
| 22 | } |
| 23 | |
| 24 | tasks.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 | } |