mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-24 21:51:14 +07:00

* Ease migration to Gradle Kotlin DSL by changing quotes, function calls and plugin definitions * Migrate build scripts to Gradle Kotlin DSL
29 lines
381 B
Plaintext
29 lines
381 B
Plaintext
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"
|
|
}
|