33 lines
544 B
Groovy
33 lines
544 B
Groovy
apply plugin: 'java-library'
|
|
apply plugin: 'kotlin'
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
compile rootProject.ext.deps["kotlin-stdlib"]
|
|
}
|
|
|
|
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"]
|
|
}
|