You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ie...@apache.org on 2020/06/30 21:21:06 UTC

[beam] 03/09: Hack to force paranamer 2.8 into the classpath

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

iemejia pushed a commit to branch BEAM-7092-spark3
in repository https://gitbox.apache.org/repos/asf/beam.git

commit d8c444d75035c1e78212db8b2d9eaa3479d25cc1
Author: Ismaël Mejía <ie...@gmail.com>
AuthorDate: Wed Aug 14 16:57:47 2019 +0200

    Hack to force paranamer 2.8 into the classpath
---
 sdks/java/core/build.gradle | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sdks/java/core/build.gradle b/sdks/java/core/build.gradle
index 4ff60f0..c8d3406 100644
--- a/sdks/java/core/build.gradle
+++ b/sdks/java/core/build.gradle
@@ -59,6 +59,12 @@ test {
   }
 }
 
+//TODO This is just a hack to avoid paranamer 2.7 leaking into the user classpath
+// a proper fix is required
+configurations.shadow {
+  exclude group: "com.thoughtworks.paranamer", module: "paranamer"
+}
+
 dependencies {
   antlr library.java.antlr
   // Required to load constants from the model, e.g. max timestamp for global window