mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-05 21:11:35 +07:00
47d7e8ef09
* Ease migration to Gradle Kotlin DSL by changing quotes, function calls and plugin definitions * Migrate build scripts to Gradle Kotlin DSL
33 lines
444 B
Plaintext
33 lines
444 B
Plaintext
import com.unciv.build.BuildConfig
|
|
|
|
plugins {
|
|
id("java")
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_6
|
|
}
|
|
|
|
tasks {
|
|
test {
|
|
workingDir = file("../android/assets")
|
|
}
|
|
|
|
compileJava {
|
|
options.encoding = "UTF-8"
|
|
}
|
|
compileTestJava {
|
|
options.encoding = "UTF-8"
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
test {
|
|
java.srcDir("src")
|
|
}
|
|
}
|
|
|
|
eclipse.project {
|
|
name = "${BuildConfig.appName}-tests"
|
|
}
|