Skip to content

Commit 77c446d

Browse files
committed
revision2
1 parent a3ce64c commit 77c446d

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

app/build.gradle.kts

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
2+
import org.gradle.api.tasks.testing.logging.TestLogEvent
3+
14
plugins {
25
id("java")
3-
id("checkstyle")
6+
checkstyle
47
jacoco
58
}
69

@@ -12,14 +15,24 @@ repositories {
1215
}
1316

1417
dependencies {
15-
testImplementation(platform("org.junit:junit-bom:5.10.0"))
16-
testImplementation("org.junit.jupiter:junit-jupiter")
17-
testRuntimeOnly ("org.junit.jupiter:junit-jupiter-engine:5.10.0")
18+
testImplementation(platform("org.junit:junit-bom:5.10.3"))
19+
testImplementation("org.junit.jupiter:junit-jupiter:5.10.3")
20+
testImplementation("org.assertj:assertj-core:3.26.3")
21+
1822
implementation("com.puppycrawl.tools:checkstyle:10.17.0")
1923
}
2024

25+
checkstyle {
26+
toolVersion = "10.17.0"
27+
}
28+
2129
tasks.test {
2230
useJUnitPlatform()
31+
testLogging {
32+
exceptionFormat = TestExceptionFormat.FULL
33+
events = mutableSetOf(TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED)
34+
showStandardStreams = true
35+
}
2336
}
2437

2538
tasks.jacocoTestReport {

0 commit comments

Comments
 (0)