Skip to content

Commit 8bffd84

Browse files
author
Erin
committed

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

schemas-analyze/build.gradle.kts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,16 @@ tasks {
4444
dependsOn(jar, sourceJar, javadocJar, testJar)
4545
}
4646
}
47-
47+
tasks.test {
48+
useJUnitPlatform()
49+
testLogging {
50+
events (org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED, org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED)//STANDARD_ERROR, STANDARD_OUT
51+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
52+
showExceptions = true
53+
showCauses = true
54+
showStackTraces = true
55+
}
56+
}
4857
publishing {
4958
publications {
5059
create<MavenPublication>("main") {

schemas-core/build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ tasks {
6666
dependsOn(jar, sourceJar, javadocJar, testJar)
6767
}
6868
}
69+
tasks.test {
70+
useJUnitPlatform()
71+
testLogging {
72+
events (org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED, org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED)//STANDARD_ERROR, STANDARD_OUT
73+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
74+
showExceptions = true
75+
showCauses = true
76+
showStackTraces = true
77+
}
78+
}
6979

7080
publishing {
7181
publications {

schemas-parse/build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@ tasks {
4444
dependsOn(jar, sourceJar, javadocJar, testJar)
4545
}
4646
}
47+
tasks.test {
48+
useJUnitPlatform()
49+
testLogging {
50+
events (org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED, org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED)//STANDARD_ERROR, STANDARD_OUT
51+
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
52+
showExceptions = true
53+
showCauses = true
54+
showStackTraces = true
55+
}
56+
}
4757

4858
publishing {
4959
publications {

0 commit comments

Comments
 (0)