Skip to content

Commit 3475043

Browse files
committed
1 parent c6470c6 commit 3475043

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

build.gradle

+6-14
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,12 @@ repositories {
2929
group = 'org.springframework.session'
3030
description = 'Spring Session'
3131

32-
gradle.taskGraph.whenReady { graph ->
33-
def jacocoEnabled = graph.allTasks.any { it instanceof JacocoReport }
34-
subprojects {
35-
plugins.withType(JavaPlugin) {
36-
sourceCompatibility = 1.8
37-
38-
tasks.withType(Test) {
39-
useJUnitPlatform()
40-
}
41-
}
42-
plugins.withType(JacocoPlugin) {
43-
tasks.withType(Test) {
44-
jacoco.enabled = jacocoEnabled
45-
}
32+
subprojects {
33+
plugins.withType(JavaPlugin) {
34+
sourceCompatibility = JavaVersion.VERSION_1_8
35+
36+
tasks.withType(Test) {
37+
useJUnitPlatform()
4638
}
4739
}
4840
}

0 commit comments

Comments
 (0)