Repository: polygene-java Updated Branches: refs/heads/develop 69db9d4ce -> d7bddde35
build: refine AggregatedJacocoReportTask Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/e2ace87c Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/e2ace87c Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/e2ace87c Branch: refs/heads/develop Commit: e2ace87c30ac544fac316d6bcf0020511e902cdd Parents: 69db9d4 Author: Paul Merlin <[email protected]> Authored: Sun Apr 23 18:57:25 2017 +0200 Committer: Paul Merlin <[email protected]> Committed: Sun Apr 23 18:57:25 2017 +0200 ---------------------------------------------------------------------- .../structure/reports/AggregatedJacocoReportTask.groovy | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/polygene-java/blob/e2ace87c/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/reports/AggregatedJacocoReportTask.groovy ---------------------------------------------------------------------- diff --git a/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/reports/AggregatedJacocoReportTask.groovy b/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/reports/AggregatedJacocoReportTask.groovy index b9bae9d..050271d 100644 --- a/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/reports/AggregatedJacocoReportTask.groovy +++ b/buildSrc/src/main/groovy/org/apache/polygene/gradle/structure/reports/AggregatedJacocoReportTask.groovy @@ -67,27 +67,27 @@ class AggregatedJacocoReportTask extends DefaultTask structure( name: 'Apache Polygene⢠(Java Edition) SDK' ) { group( name: 'Core' ) { classfiles { coreProjects.collect { p -> fileset dir: "${ p.buildDir.path }/classes/main" } } - sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { fileset dir: it.absolutePath } } } + sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { sourceRoot -> fileset dir: sourceRoot.absolutePath } } } } group( name: 'Libraries' ) { classfiles { libProjects.collect { p -> fileset dir: "${ p.buildDir.path }/classes/main" } } - sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { fileset dir: it.absolutePath } } } + sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { sourceRoot -> fileset dir: sourceRoot.absolutePath } } } } group( name: 'Extensions' ) { classfiles { extProjects.collect { p -> fileset dir: "${ p.buildDir.path }/classes/main" } } - sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { fileset dir: it.absolutePath } } } + sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { sourceRoot -> fileset dir: sourceRoot.absolutePath } } } } group( name: 'Tools' ) { classfiles { toolsProjects.collect { p -> fileset dir: "${ p.buildDir.path }/classes/main" } } - sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { fileset dir: it.absolutePath } } } + sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { sourceRoot -> fileset dir: sourceRoot.absolutePath } } } } group( name: 'Tutorials' ) { classfiles { tutoProjects.collect { p -> fileset dir: "${ p.buildDir.path }/classes/main" } } - sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { fileset dir: it.absolutePath } } } + sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { sourceRoot -> fileset dir: sourceRoot.absolutePath } } } } group( name: 'Samples' ) { classfiles { samplesProjects.collect { p -> fileset dir: "${ p.buildDir.path }/classes/main" } } - sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { fileset dir: it.absolutePath } } } + sourcefiles { samplesProjects.collect { p -> sourceRootsOf( p ).each { sourceRoot -> fileset dir: sourceRoot.absolutePath } } } } } csv destfile: "${ outputDirectory }/jacoco.csv", encoding: 'UTF-8'
