geforkt von Mirrors/Paper
[ci skip] Change test logging settings to log by default (#7203)
Dieser Commit ist enthalten in:
Ursprung
8e0a15c372
Commit
d3a2eb2c3e
@ -1,3 +1,6 @@
|
|||||||
|
import org.gradle.api.tasks.testing.logging.TestExceptionFormat;
|
||||||
|
import org.gradle.api.tasks.testing.logging.TestLogEvent;
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
java
|
java
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
@ -27,6 +30,13 @@ subprojects {
|
|||||||
tasks.withType<ProcessResources> {
|
tasks.withType<ProcessResources> {
|
||||||
filteringCharset = Charsets.UTF_8.name()
|
filteringCharset = Charsets.UTF_8.name()
|
||||||
}
|
}
|
||||||
|
tasks.withType<Test> {
|
||||||
|
testLogging {
|
||||||
|
showStackTraces = true
|
||||||
|
exceptionFormat = TestExceptionFormat.FULL
|
||||||
|
events(TestLogEvent.STANDARD_OUT)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (name == "Paper-MojangAPI") {
|
if (name == "Paper-MojangAPI") {
|
||||||
return@subprojects
|
return@subprojects
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren