You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by hu...@apache.org on 2020/03/26 21:17:30 UTC
[incubator-gobblin] branch master updated: [GOBBLIN-1098] Remove
commons-lang and slf4j from the orc-dep fat jar
This is an automated email from the ASF dual-hosted git repository.
hutran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-gobblin.git
The following commit(s) were added to refs/heads/master by this push:
new 69033c1 [GOBBLIN-1098] Remove commons-lang and slf4j from the orc-dep fat jar
69033c1 is described below
commit 69033c15134261abb432cba5f94835021f049c7a
Author: Hung Tran <hu...@linkedin.com>
AuthorDate: Thu Mar 26 14:17:22 2020 -0700
[GOBBLIN-1098] Remove commons-lang and slf4j from the orc-dep fat jar
Closes #2939 from htran1/orc-dep-fat-remove-deps
---
gobblin-modules/gobblin-orc-dep/build.gradle | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gobblin-modules/gobblin-orc-dep/build.gradle b/gobblin-modules/gobblin-orc-dep/build.gradle
index bca8221..6120649 100644
--- a/gobblin-modules/gobblin-orc-dep/build.gradle
+++ b/gobblin-modules/gobblin-orc-dep/build.gradle
@@ -52,6 +52,12 @@ configurations {
shadowJar {
zip64 true
+
+ dependencies {
+ exclude dependency('org.slf4j:.*')
+ exclude dependency('commons-lang:.*')
+ }
+
relocate 'org.apache.hadoop.hive', 'shadow.gobblin.orc.org.apache.hadoop.hive'
relocate 'com.google', 'shadow.gobblin.orc.com.google'
}