groovy git commit: exclude performance subproject from coverage

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

groovy git commit: exclude performance subproject from coverage

paulk
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X 7a796d036 -> 53fe772c0


exclude performance subproject from coverage


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/53fe772c
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/53fe772c
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/53fe772c

Branch: refs/heads/GROOVY_2_6_X
Commit: 53fe772c0cb91fd850490b8f779bfef156655948
Parents: 7a796d0
Author: paulk <[hidden email]>
Authored: Sun May 7 15:36:55 2017 +1000
Committer: paulk <[hidden email]>
Committed: Sun May 7 15:41:07 2017 +1000

----------------------------------------------------------------------
 gradle/jacoco/jacoco.gradle | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/53fe772c/gradle/jacoco/jacoco.gradle
----------------------------------------------------------------------
diff --git a/gradle/jacoco/jacoco.gradle b/gradle/jacoco/jacoco.gradle
index 3929b55..0fddbe9 100644
--- a/gradle/jacoco/jacoco.gradle
+++ b/gradle/jacoco/jacoco.gradle
@@ -22,7 +22,9 @@ if (rootProject.hasProperty('coverage') && Boolean.valueOf(rootProject.getProper
     // are not specifically asking for code coverage
 
     allprojects {
-        apply plugin: 'jacoco'
+        if (!['performance'].contains(it.name)) {
+            apply plugin: 'jacoco'
+        }
 
         project.afterEvaluate {
             tasks.withType(JacocoReport) {