You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2017/05/07 05:37:50 UTC

groovy git commit: exclude performance subproject from coverage

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 <pa...@asert.com.au>
Authored: Sun May 7 15:36:55 2017 +1000
Committer: paulk <pa...@asert.com.au>
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) {