Created
November 16, 2017 06:43
-
-
Save s1monw1/4ffe2f177b36aa7fa8a733fdd98b8d90 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
ext.kotlin_version = '1.1.60' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
} | |
} | |
apply plugin: 'kotlin' | |
kotlin { | |
experimental { | |
coroutines 'enable' | |
} | |
} | |
compileKotlin { | |
kotlinOptions.suppressWarnings = true | |
} | |
compileKotlin { | |
kotlinOptions { | |
suppressWarnings = true | |
} | |
} | |
sourceSets { | |
main.kotlin.srcDirs += 'src/kotlin' | |
main.resources.srcDirs += 'src/resources' | |
} | |
dependencies { | |
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.19.3" | |
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" | |
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | |
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version" | |
compile "org.slf4j:slf4j-api:1.7.14" | |
compile "ch.qos.logback:logback-classic:1.1.3" | |
testCompile 'junit:junit:4.11' | |
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version" | |
} | |
repositories{ | |
mavenCentral() | |
jcenter() | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment