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_5_X 0b3bc1fbd -> d336f7bb7


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

Branch: refs/heads/GROOVY_2_5_X
Commit: d336f7bb755db1fbdb1a15de96da9fd3e7ae1f6b
Parents: 0b3bc1f
Author: paulk <[hidden email]>
Authored: Sun May 7 15:36:55 2017 +1000
Committer: paulk <[hidden email]>
Committed: Sun May 7 15:42:05 2017 +1000

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


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