Browse Source

Fix coveralls.

pull/310/head
Chris Smith 9 years ago
parent
commit
ea12640ff4
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      gradle/coveralls.gradle

+ 1
- 5
gradle/coveralls.gradle View File

@@ -11,16 +11,12 @@ task jacocoRootReport(type: JacocoReport, group: 'Coverage reports', dependsOn:
11 11
   additionalSourceDirs = files(subprojects.sourceSets.main.allSource.srcDirs)
12 12
   sourceDirectories = files(subprojects.sourceSets.main.allSource.srcDirs)
13 13
   classDirectories = files(subprojects.sourceSets.main.output)
14
-  executionData = files(subprojects.jacocoTestReport.executionData)
14
+  executionData = files(subprojects.jacocoTestReport.executionData).filter { it.exists() }
15 15
 
16 16
   reports {
17 17
     html.enabled = true
18 18
     xml.enabled = true
19 19
   }
20
-
21
-  doFirst {
22
-    executionData = files(executionData.findAll { it.exists() })
23
-  }
24 20
 }
25 21
 
26 22
 coveralls {

Loading…
Cancel
Save