[groovy] branch master updated: use cleaner classpath (for tests too)

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

[groovy] branch master updated: use cleaner classpath (for tests too)

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

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 4f407a6  use cleaner classpath (for tests too)
4f407a6 is described below

commit 4f407a607ff19e45e16a1601442e1aed4af4ff60
Author: Paul King <[hidden email]>
AuthorDate: Fri Nov 20 23:13:22 2020 +1000

    use cleaner classpath (for tests too)
---
 subprojects/groovy-servlet/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subprojects/groovy-servlet/build.gradle b/subprojects/groovy-servlet/build.gradle
index 0c26132..30576da 100644
--- a/subprojects/groovy-servlet/build.gradle
+++ b/subprojects/groovy-servlet/build.gradle
@@ -32,7 +32,7 @@ dependencies {
 
     testImplementation("javax.servlet:javax.servlet-api:${versions.javaxServletApi}")
     testImplementation("javax.servlet.jsp:javax.servlet.jsp-api:${versions.javaxJspApi}") {
-        exclude(group: 'javax.servlet', module: 'servlet-api')
+        transitive = false
     }
     testImplementation "jmock:jmock:${versions.jmock}"
     testImplementation project(':groovy-json')