Skip to content

Commit bee9c7c

Browse files
committed
1 parent 8788165 commit bee9c7c

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

build.gradle

+3-11
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,8 @@ apply plugin: 'io.spring.convention.root'
2323
group = 'org.springframework.session'
2424
description = 'Spring Session'
2525

26-
gradle.taskGraph.whenReady { graph ->
27-
def jacocoEnabled = graph.allTasks.any { it instanceof JacocoReport }
28-
subprojects {
29-
plugins.withType(JavaPlugin) {
30-
sourceCompatibility = 1.8
31-
}
32-
plugins.withType(JacocoPlugin) {
33-
tasks.withType(Test) {
34-
jacoco.enabled = jacocoEnabled
35-
}
36-
}
26+
subprojects {
27+
plugins.withType(JavaPlugin) {
28+
sourceCompatibility = JavaVersion.VERSION_1_8
3729
}
3830
}

0 commit comments

Comments
 (0)