2017-09-21 20:13:05 +03:00
|
|
|
plugins {
|
2017-12-14 11:19:36 +03:00
|
|
|
id "org.jetbrains.kotlin.jvm" version "1.2.10" apply false
|
2017-09-21 20:13:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
allprojects{
|
|
|
|
apply plugin: 'idea'
|
2017-04-05 22:07:43 +03:00
|
|
|
apply plugin: 'java'
|
2017-12-13 14:57:54 +03:00
|
|
|
apply plugin: "kotlin"
|
2015-12-18 16:20:47 +03:00
|
|
|
|
2017-04-05 22:07:43 +03:00
|
|
|
group = 'inr.numass'
|
|
|
|
version = '1.0.0'
|
2015-12-18 16:20:47 +03:00
|
|
|
|
2017-04-05 22:07:43 +03:00
|
|
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
2015-12-18 16:20:47 +03:00
|
|
|
|
2017-04-05 22:07:43 +03:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
2017-11-20 18:09:00 +03:00
|
|
|
//maven { url "https://jitpack.io" }
|
2017-11-05 22:10:29 +03:00
|
|
|
maven { url "http://dl.bintray.com/kotlin/ktor" }
|
|
|
|
maven { url "https://dl.bintray.com/kotlin/kotlinx" }
|
2015-12-18 16:20:47 +03:00
|
|
|
}
|
2017-04-05 22:07:43 +03:00
|
|
|
|
2017-12-13 14:57:54 +03:00
|
|
|
dependencies{
|
2017-12-14 11:19:36 +03:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.10"
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.10"
|
2017-12-17 13:43:37 +03:00
|
|
|
compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: '1.2.10'
|
2017-12-13 14:57:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-12-10 20:11:23 +03:00
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
javaParameters = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
compileTestKotlin{
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
javaParameters = true
|
|
|
|
}
|
2015-12-18 16:20:47 +03:00
|
|
|
}
|
2017-04-05 22:07:43 +03:00
|
|
|
|
2017-12-10 20:11:23 +03:00
|
|
|
kotlin {
|
|
|
|
experimental {
|
|
|
|
coroutines "enable"
|
|
|
|
}
|
|
|
|
}
|
2017-04-05 22:07:43 +03:00
|
|
|
}
|