47d7e8ef09
* Ease migration to Gradle Kotlin DSL by changing quotes, function calls and plugin definitions * Migrate build scripts to Gradle Kotlin DSL
28 lines
381 B
Text
28 lines
381 B
Text
import com.unciv.build.BuildConfig
|
|
|
|
plugins {
|
|
id("kotlin")
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_6
|
|
}
|
|
|
|
tasks {
|
|
compileJava {
|
|
options.encoding = "UTF-8"
|
|
}
|
|
compileTestJava {
|
|
options.encoding = "UTF-8"
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java.srcDir("src/")
|
|
}
|
|
}
|
|
|
|
eclipse.project {
|
|
name = "${BuildConfig.appName}-core"
|
|
}
|