Skip to content

Commit a6e9637

Browse files
authored
Fix missing JaCoCo report (#241)
1 parent 8c561bf commit a6e9637

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

build.gradle.kts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@ repositories {
2222
}
2323

2424
dependencies {
25+
implementation(platform(SpringBootPlugin.BOM_COORDINATES))
26+
2527
subprojects.forEach { p ->
2628
implementation(project(":${p.name}"))
2729
}
2830
}
2931

30-
dependencies {
31-
implementation(platform(SpringBootPlugin.BOM_COORDINATES))
32-
}
33-
3432
sonar {
3533
properties {
3634
property("sonar.projectKey", "rashidi_spring-boot-tutorials")
@@ -51,3 +49,6 @@ subprojects {
5149
}
5250
}
5351

52+
tasks.check {
53+
dependsOn(tasks.named<JacocoReport>("testCodeCoverageReport"))
54+
}

settings.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ include("modulith")
2222
include("test-execution-listeners")
2323
include("test-rest-assured")
2424
include("test-slice-tests-rest")
25-
include("web-rest-client")
25+
include("web-rest-client")
26+
include("web-thymeleaf-xss")

0 commit comments

Comments
 (0)