|
@@ -19,23 +19,8 @@ ext.milestoneBuild = !(snapshotBuild || releaseBuild)
|
|
|
|
|
|
dependencyManagementExport.projects = subprojects.findAll { !it.name.contains('-boot') }
|
|
|
|
|
|
-// Disable JaCoCo when not explicitly requested to enable caching of test
|
|
|
-// See https://discuss.gradle.org/t/do-not-cache-if-condition-matched-jacoco-agent-configured-with-append-true-satisfied/23504
|
|
|
-gradle.taskGraph.whenReady { graph ->
|
|
|
- def enabled = graph.allTasks.any { it instanceof JacocoReport }
|
|
|
- subprojects { project ->
|
|
|
- project.plugins.withType(JacocoPlugin) {
|
|
|
- project.tasks.withType(Test) {
|
|
|
- jacoco.enabled = enabled
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
subprojects {
|
|
|
plugins.withType(JavaPlugin) {
|
|
|
project.sourceCompatibility='1.8'
|
|
|
}
|
|
|
}
|
|
|
-
|