mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 08:39:11 +00:00
33 lines
663 B
Groovy
33 lines
663 B
Groovy
configure(subprojects.findAll { it.buildFile.exists() }) { subproj ->
|
|
apply plugin: "kotlin"
|
|
|
|
sourceSets {
|
|
main {
|
|
kotlin {
|
|
srcDirs += "src"
|
|
}
|
|
}
|
|
|
|
test {
|
|
kotlin {
|
|
srcDirs += "test"
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.withType(Test) {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
kotlinScriptDef(":game")
|
|
implementation group: 'com.google.guava', name: 'guava', version: guavaVersion
|
|
}
|
|
}
|