32 lines
779 B
Groovy
32 lines
779 B
Groovy
|
|
buildscript {
|
|
ext.kotlin_version = '1.2.21'
|
|
repositories {
|
|
jcenter()
|
|
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 {
|
|
compile 'org.apache.httpcomponents:httpclient:4.3.3'
|
|
compile 'commons-logging:commons-logging:1.1.3'
|
|
// compile group: "org.apache.logging.log4j", name: "log4j-api", version: '2.8.1'
|
|
compile 'com.google.code.gson:gson:2.8.0'
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
} |