azkaban-aplcache

change jacoco task name (#1852) The task name jacocoRootReport

7/12/2018 6:02:38 PM
3.50.1

Changes

build.gradle 6(+3 -3)

Details

build.gradle 6(+3 -3)

diff --git a/build.gradle b/build.gradle
index e878238..962e8c1 100644
--- a/build.gradle
+++ b/build.gradle
@@ -235,7 +235,7 @@ if (System.env.TRAVIS == 'true') {
 def publishedProjects = subprojects.findAll()
 
 // Aggregate all subproject reports into one.
-task jacocoRootReport(type: JacocoReport, group: 'Coverage reports') {
+task jacocoAggregateReport(type: JacocoReport, group: 'Coverage reports') {
     description = 'Generates an aggregate report from all subprojects'
 
     dependsOn(publishedProjects.test)
@@ -259,9 +259,9 @@ task jacocoRootReport(type: JacocoReport, group: 'Coverage reports') {
 
 coveralls {
     sourceDirs = publishedProjects.sourceSets.main.allSource.srcDirs.flatten()
-    jacocoReportPath = "${buildDir}/reports/jacoco/jacocoRootReport/jacocoRootReport.xml"
+    jacocoReportPath = "${buildDir}/reports/jacoco/jacocoAggregateReport/jacocoAggregateReport.xml"
 }
 
 tasks.coveralls {
-    dependsOn jacocoRootReport
+    dependsOn jacocoAggregateReport
 }