We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8788165 commit bee9c7cCopy full SHA for bee9c7c
build.gradle
@@ -23,16 +23,8 @@ apply plugin: 'io.spring.convention.root'
23
group = 'org.springframework.session'
24
description = 'Spring Session'
25
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
+subprojects {
+ plugins.withType(JavaPlugin) {
+ sourceCompatibility = JavaVersion.VERSION_1_8
37
}
38
0 commit comments