Skip to content

Commit

Permalink
Exclude guava, jackson-core, jackson-databind from jib-core (#6884)
Browse files Browse the repository at this point in the history
Previous to introduce support for Jib in f78c0c3. The dependencies
mentioned were shaded. However, after introducing Jib, those
transitive dependencies became part of the API. For that reason, 
currently, those are not shaded.
  • Loading branch information
eddumelendez committed Apr 3, 2023
1 parent f50ddc0 commit b51b7ed
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,13 @@ dependencies {
exclude(group: 'org.jetbrains', module: 'annotations')
}

provided 'com.google.cloud.tools:jib-core:0.22.0'
provided('com.google.cloud.tools:jib-core:0.22.0') {
exclude group: 'com.google.guava', module: 'guava'
exclude group: 'com.fasterxml.jackson.datatype', module: 'jackson-datatype-jsr310'
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-core'
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'
exclude group: 'org.apache.commons', module: 'commons-compress'
}

shaded 'org.awaitility:awaitility:4.2.0'

Expand All @@ -95,6 +101,7 @@ dependencies {

shaded 'org.zeroturnaround:zt-exec:1.12'

testImplementation 'com.google.cloud.tools:jib-core:0.22.0'
testImplementation 'org.apache.httpcomponents:httpclient:4.5.9'
testImplementation 'redis.clients:jedis:4.3.1'
testImplementation 'com.rabbitmq:amqp-client:5.16.0'
Expand Down

0 comments on commit b51b7ed

Please sign in to comment.