Unciv/tests/build.gradle.kts
Daniel Bälz 47d7e8ef09
Gradle Kotlin DSL (#2634)
* Ease migration to Gradle Kotlin DSL by changing quotes, function calls and plugin definitions

* Migrate build scripts to Gradle Kotlin DSL
2020-05-19 00:14:01 +03:00

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"
}