rdblue commented on a change in pull request #2826:
URL: https://github.com/apache/iceberg/pull/2826#discussion_r707444680



##########
File path: build.gradle
##########
@@ -1219,6 +1336,15 @@ project(':iceberg-spark3-runtime') {
     // relocate Antlr runtime and related deps to shade Iceberg specific 
version
     relocate 'org.antlr.v4.runtime', 
'org.apache.iceberg.shaded.org.antlr.v4.runtime'
 
+    dependencies {
+      exclude 'org/antlr/runtime/**/*'
+      exclude 'org/abego/treelayout/**/*'
+      exclude 'com/ibm/icu/**/*'
+      exclude 'javax/json/**/*'
+      exclude 'org/glassfish/**/*'
+      exclude 'org/stringtemplate/**/*'
+    }

Review comment:
       It is suspicious to me that this is now necessary. I think it is because 
we are shading `runtimeClasspath` now rather than `compile`. I think that 
change is mostly correct because `implementation` dependencies are no longer 
transitive unless you look at the runtime classpath. But some extra 
dependencies must be leaking in from the other changes.
   
   I think the right way to exclude these is to add them to the 
`implementation` excludes above, not to exclude specific packages.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to