Unciv/tests/build.gradle.kts

29 lines
596 B
Plaintext
Raw Permalink Normal View History

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
}
}
}
sourceSets {
test {
java.srcDir("src")
}
}
eclipse.project {
name = "${BuildConfig.appName}-tests"
}