Vsevolod Tolstopyatov | 44e625d | 2019-05-24 11:26:09 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. |
| 3 | */ |
| 4 | |
| 5 | plugins { |
| 6 | id 'org.jetbrains.kotlin.jvm' version '1.3.30' |
| 7 | } |
| 8 | |
| 9 | def deployVersion = properties['DeployVersion'] |
| 10 | ext.coroutines_version = deployVersion |
| 11 | println "Checking coroutines version $coroutines_version" |
| 12 | |
| 13 | group 'org.jetbrains.kotlinx' |
| 14 | version '1.0-SNAPSHOT' |
| 15 | |
| 16 | repositories { |
| 17 | mavenLocal() |
| 18 | mavenCentral() |
| 19 | } |
| 20 | |
| 21 | dependencies { |
| 22 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" |
| 23 | testCompile 'junit:junit:4.12' |
| 24 | testCompile 'org.apache.commons:commons-compress:1.18' |
| 25 | testCompile 'com.google.code.gson:gson:2.8.5' |
| 26 | testCompile "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" |
| 27 | testCompile "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" |
| 28 | } |
| 29 | |
| 30 | compileKotlin { |
| 31 | kotlinOptions.jvmTarget = "1.8" |
| 32 | } |
| 33 | compileTestKotlin { |
| 34 | kotlinOptions.jvmTarget = "1.8" |
| 35 | } |