2018-02-09 20:50:22 +00:00
|
|
|
buildscript {
|
|
|
|
ext.kotlin_version = '1.2.21'
|
|
|
|
repositories {
|
2018-02-10 02:19:01 +00:00
|
|
|
jcenter()
|
2018-02-09 20:50:22 +00:00
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
|
|
|
|
sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-05-07 22:45:34 +00:00
|
|
|
compile project(':api')
|
2018-02-24 23:51:56 +00:00
|
|
|
compile group: 'commons-logging', name: 'commons-logging', version: '1.1.3'
|
2018-05-07 22:45:34 +00:00
|
|
|
compile group: 'com.google.code.gson', name: 'gson', version: '+'
|
2018-02-24 23:51:56 +00:00
|
|
|
|
|
|
|
compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8', version: project.kotlin_version
|
2018-02-09 20:50:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
}
|