47d7e8ef09
* Ease migration to Gradle Kotlin DSL by changing quotes, function calls and plugin definitions * Migrate build scripts to Gradle Kotlin DSL
32 lines
444 B
Text
32 lines
444 B
Text
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"
|
|
}
|