You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2021/05/31 17:33:59 UTC
[tapestry-5] branch master updated: TAP5-2675: Avoid multiple
Groovy compilers on classpath
This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push:
new 62487c1 TAP5-2675: Avoid multiple Groovy compilers on classpath
62487c1 is described below
commit 62487c10614f2a21756a273e4607584ee8cab9ad
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Mon May 31 14:33:49 2021 -0300
TAP5-2675: Avoid multiple Groovy compilers on classpath
Thanks Volker Lamp for the patch!
---
tapestry-webresources/build.gradle | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/tapestry-webresources/build.gradle b/tapestry-webresources/build.gradle
index 3df394b..3f3db74 100644
--- a/tapestry-webresources/build.gradle
+++ b/tapestry-webresources/build.gradle
@@ -1,5 +1,11 @@
description = "Integration with WRO4J to perform runtime CoffeeScript compilation, JavaScript minimization, and more."
+//configurations {
+// all {
+// exclude group: "org.codehaus.groovy", module: "groovy-all" // avoid multiple Groovy compilers on classpath
+// }
+//}
+
dependencies {
compile project(":tapestry-core")
compile "com.github.sommeri:less4j:1.12.0"
@@ -7,7 +13,9 @@ dependencies {
compile "org.mozilla:rhino:1.7.7.2"
testCompile project(":tapestry-runner")
- testCompile "org.gebish:geb-spock:${versions.geb}"
+ testCompile "org.gebish:geb-spock:${versions.geb}", {
+ exclude group: "org.codehaus.groovy", module: "groovy-all" // avoid multiple Groovy compilers on classpath
+ }
testCompile "org.spockframework:spock-tapestry:${versions.spock}", {
exclude group: "org.apache.tapestry"
}