mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-05 13:08:48 +07:00
783f846761
See #10740
36 lines
719 B
Plaintext
36 lines
719 B
Plaintext
import com.unciv.build.BuildConfig
|
|
import org.gradle.api.tasks.testing.logging.TestLogEvent
|
|
|
|
tasks {
|
|
test {
|
|
workingDir = file("../android/assets")
|
|
testLogging.lifecycle {
|
|
events(
|
|
TestLogEvent.FAILED,
|
|
TestLogEvent.STANDARD_ERROR,
|
|
TestLogEvent.STANDARD_OUT
|
|
)
|
|
|
|
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
|
|
}
|
|
|
|
}
|
|
|
|
compileJava {
|
|
options.encoding = "UTF-8"
|
|
}
|
|
compileTestJava {
|
|
options.encoding = "UTF-8"
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
test {
|
|
java.srcDir("src")
|
|
}
|
|
}
|
|
|
|
eclipse.project {
|
|
name = "${BuildConfig.appName}-tests"
|
|
}
|