2020-05-19 04:14:01 +07:00
|
|
|
import com.unciv.build.BuildConfig
|
2020-09-03 18:03:17 +07:00
|
|
|
import org.gradle.api.tasks.testing.logging.TestLogEvent
|
2020-05-19 04:14:01 +07:00
|
|
|
|
|
|
|
tasks {
|
|
|
|
test {
|
|
|
|
workingDir = file("../android/assets")
|
2020-09-03 21:33:56 +07:00
|
|
|
testLogging.lifecycle {
|
2020-09-03 18:03:17 +07:00
|
|
|
events(
|
|
|
|
TestLogEvent.FAILED,
|
|
|
|
TestLogEvent.STANDARD_ERROR,
|
|
|
|
TestLogEvent.STANDARD_OUT
|
|
|
|
)
|
|
|
|
|
|
|
|
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
|
|
|
|
}
|
|
|
|
|
2020-05-19 04:14:01 +07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
test {
|
|
|
|
java.srcDir("src")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
eclipse.project {
|
|
|
|
name = "${BuildConfig.appName}-tests"
|
|
|
|
}
|