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/master 6b70bbc94 -> e4e5bcb24


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/e4e5bcb2
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/e4e5bcb2
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/e4e5bcb2

Branch: refs/heads/master
Commit: e4e5bcb24ae6748dac1ca2c0fadfbe65ef6a1ec6
Parents: 6b70bbc
Author: paulk <[hidden email]>
Authored: Sun May 7 15:36:55 2017 +1000
Committer: paulk <[hidden email]>
Committed: Sun May 7 15:37:36 2017 +1000

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/e4e5bcb2/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) {