3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-14 20:10:05 +01:00

[ci skip] Change test logging settings to log by default (#7203)

Dieser Commit ist enthalten in:
Owen1212055 2021-12-30 16:52:30 -05:00 committet von GitHub
Ursprung a99a33cdd9
Commit 721f14842f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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