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-02-10 02:19:01 +00:00
|
|
|
compile 'org.apache.httpcomponents:httpclient:4.3.3'
|
2018-02-10 02:29:56 +00:00
|
|
|
compile 'commons-logging:commons-logging:1.1.3'
|
2018-02-10 18:05:10 +00:00
|
|
|
// compile group: "org.apache.logging.log4j", name: "log4j-api", version: '2.8.1'
|
2018-02-10 02:19:01 +00:00
|
|
|
compile 'com.google.code.gson:gson:2.8.0'
|
2018-02-09 20:50:22 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
|
|
}
|
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
}
|