mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
[ci skip] Change test logging settings to log by default (#7203)
This commit is contained in:
parent
8e0a15c372
commit
d3a2eb2c3e
1 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
import org.gradle.api.tasks.testing.logging.TestExceptionFormat;
|
||||
import org.gradle.api.tasks.testing.logging.TestLogEvent;
|
||||
|
||||
plugins {
|
||||
java
|
||||
`maven-publish`
|
||||
|
@ -27,6 +30,13 @@ subprojects {
|
|||
tasks.withType<ProcessResources> {
|
||||
filteringCharset = Charsets.UTF_8.name()
|
||||
}
|
||||
tasks.withType<Test> {
|
||||
testLogging {
|
||||
showStackTraces = true
|
||||
exceptionFormat = TestExceptionFormat.FULL
|
||||
events(TestLogEvent.STANDARD_OUT)
|
||||
}
|
||||
}
|
||||
|
||||
if (name == "Paper-MojangAPI") {
|
||||
return@subprojects
|
||||
|
|
Loading…
Reference in a new issue