37 lines
642 B
Groovy
37 lines
642 B
Groovy
apply plugin: 'java-library'
|
|
apply plugin: 'kotlin'
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
compile rootProject.ext.deps["kotlin-stdlib"]
|
|
}
|
|
|
|
sourceCompatibility = "1.7"
|
|
targetCompatibility = "1.7"
|
|
|
|
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath rootProject.ext.deps["kotlin-gradle-plugin"]
|
|
}
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
compileKotlin {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation rootProject.ext.deps["junit"]
|
|
}
|