This is an automated email from the ASF dual-hosted git repository.

markusthoemmes pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new e38ea35  Use only "scoverage" related artifacts in modified classpath. 
(#3820)
e38ea35 is described below

commit e38ea358359152474f1f4eac33f9b15f8e642630
Author: Chetan Mehrotra <chet...@apache.org>
AuthorDate: Fri Jun 29 14:10:38 2018 +0530

    Use only "scoverage" related artifacts in modified classpath. (#3820)
---
 tests/build.gradle | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/build.gradle b/tests/build.gradle
index 0460cb8..cf737ed 100644
--- a/tests/build.gradle
+++ b/tests/build.gradle
@@ -236,7 +236,8 @@ def getScoverageClasspath(Project project) {
         ':tools:admin'
     ]
     def combinedClasspath = projectNames.inject(project.files([])) { result, 
name ->
-        result + project.project(name).sourceSets.scoverage.runtimeClasspath
+        def cp = project.project(name).sourceSets.scoverage.runtimeClasspath
+        result + cp.filter {it.name.contains('scoverage')}
     }
 
     combinedClasspath + sourceSets.test.runtimeClasspath

Reply via email to