Commit 83fcb56 1 parent 3576c39 commit 83fcb56 Copy full SHA for 83fcb56
File tree 8 files changed +32
-0
lines changed
8 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ tasks.withType(ShadowJar::class.java) {
39
39
archiveClassifier.set(" " )
40
40
mergeServiceFiles()
41
41
42
+ dependencies {
43
+ exclude(dependency(" org.slf4j:slf4j-api" ))
44
+ }
45
+
42
46
// Relocate dependencies to avoid conflicts
43
47
relocate(" org.jdom" , " org.apache.gravitino.aliyun.shaded.org.jdom" )
44
48
relocate(" org.apache.commons.lang3" , " org.apache.gravitino.aliyun.shaded.org.apache.commons.lang3" )
Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ tasks.withType(ShadowJar::class.java) {
74
74
archiveClassifier.set(" " )
75
75
mergeServiceFiles()
76
76
77
+ dependencies {
78
+ exclude(dependency(" org.slf4j:slf4j-api" ))
79
+ }
80
+
77
81
// Relocate dependencies to avoid conflicts
78
82
relocate(" org.jdom" , " org.apache.gravitino.aliyun.shaded.org.jdom" )
79
83
relocate(" org.apache.commons.lang3" , " org.apache.gravitino.aliyun.shaded.org.apache.commons.lang3" )
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ tasks.withType(ShadowJar::class.java) {
36
36
configurations = listOf (project.configurations.runtimeClasspath.get())
37
37
archiveClassifier.set(" " )
38
38
39
+ dependencies {
40
+ exclude(dependency(" org.slf4j:slf4j-api" ))
41
+ }
42
+
39
43
relocate(" org.apache.commons.lang3" , " org.apache.gravitino.aws.shaded.org.apache.commons.lang3" )
40
44
relocate(" com.google.common" , " org.apache.gravitino.aws.shaded.com.google.common" )
41
45
relocate(" com.fasterxml.jackson" , " org.apache.gravitino.aws.shaded.com.fasterxml.jackson" )
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ tasks.withType(ShadowJar::class.java) {
59
59
configurations = listOf (project.configurations.runtimeClasspath.get())
60
60
archiveClassifier.set(" " )
61
61
62
+ dependencies {
63
+ exclude(dependency(" org.slf4j:slf4j-api" ))
64
+ }
65
+
62
66
relocate(" org.apache.commons.lang3" , " org.apache.gravitino.aws.shaded.org.apache.commons.lang3" )
63
67
relocate(" com.google.common" , " org.apache.gravitino.aws.shaded.com.google.common" )
64
68
relocate(" com.fasterxml.jackson" , " org.apache.gravitino.aws.shaded.com.fasterxml.jackson" )
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ tasks.withType(ShadowJar::class.java) {
36
36
configurations = listOf (project.configurations.runtimeClasspath.get())
37
37
archiveClassifier.set(" " )
38
38
39
+ dependencies {
40
+ exclude(dependency(" org.slf4j:slf4j-api" ))
41
+ }
42
+
39
43
// Relocate dependencies to avoid conflicts
40
44
relocate(" org.apache.httpcomponents" , " org.apache.gravitino.azure.shaded.org.apache.httpcomponents" )
41
45
relocate(" org.apache.commons" , " org.apache.gravitino.azure.shaded.org.apache.commons" )
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ tasks.withType(ShadowJar::class.java) {
59
59
configurations = listOf (project.configurations.runtimeClasspath.get())
60
60
archiveClassifier.set(" " )
61
61
62
+ dependencies {
63
+ exclude(dependency(" org.slf4j:slf4j-api" ))
64
+ }
65
+
62
66
// Relocate dependencies to avoid conflicts
63
67
relocate(" org.apache.httpcomponents" , " org.apache.gravitino.azure.shaded.org.apache.httpcomponents" )
64
68
relocate(" org.apache.commons" , " org.apache.gravitino.azure.shaded.org.apache.commons" )
Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ tasks.withType(ShadowJar::class.java) {
36
36
configurations = listOf (project.configurations.runtimeClasspath.get())
37
37
archiveClassifier.set(" " )
38
38
39
+ dependencies {
40
+ exclude(dependency(" org.slf4j:slf4j-api" ))
41
+ }
42
+
39
43
// Relocate dependencies to avoid conflicts
40
44
relocate(" org.apache.httpcomponents" , " org.apache.gravitino.gcp.shaded.org.apache.httpcomponents" )
41
45
relocate(" org.apache.commons" , " org.apache.gravitino.gcp.shaded.org.apache.commons" )
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ tasks.withType(ShadowJar::class.java) {
58
58
configurations = listOf (project.configurations.runtimeClasspath.get())
59
59
archiveClassifier.set(" " )
60
60
61
+ dependencies {
62
+ exclude(dependency(" org.slf4j:slf4j-api" ))
63
+ }
64
+
61
65
// Relocate dependencies to avoid conflicts
62
66
relocate(" org.apache.httpcomponents" , " org.apache.gravitino.gcp.shaded.org.apache.httpcomponents" )
63
67
relocate(" org.apache.commons" , " org.apache.gravitino.gcp.shaded.org.apache.commons" )
You can’t perform that action at this time.
0 commit comments