Skip to content

Commit

Permalink
fix coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanenicolas committed Apr 8, 2016
1 parent e6c352d commit e9ac7de
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,9 @@ task jacocoTestReport << {
}
}

def javaProjects() {
subprojects.findAll { project ->
project.plugins.hasPlugin('java')
}
}

coveralls {
jacocoReportPath = 'build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml'
sourceDirs = files(javaProjects().sourceSets.main.allSource.srcDirs).files.absolutePath
sourceDirs = files(subprojects.collect { subproject -> "${subproject.projectDir}/src/main/java"}).files.absolutePath
}

tasks.coveralls {
Expand Down

0 comments on commit e9ac7de

Please sign in to comment.