Skip to content

Commit

Permalink
fix(datahub-client): Include relocation for snakeyaml dependency. (#8911
Browse files Browse the repository at this point in the history
)

Co-authored-by: david-leifker <[email protected]>
  • Loading branch information
jiateoh and david-leifker authored Nov 1, 2023
1 parent dae320c commit 7a31950
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metadata-integration/java/datahub-client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ shadowJar {
// we can move to automatic relocation using ConfigureShadowRelocation after we get to a good place on these first
relocate 'org.springframework', 'datahub.shaded.org.springframework'
relocate 'com.fasterxml.jackson', 'datahub.shaded.jackson'
relocate 'org.yaml', 'io.acryl.shaded.org.yaml' // Required for shading snakeyaml
relocate 'net.jcip.annotations', 'datahub.shaded.annotations'
relocate 'javassist', 'datahub.shaded.javassist'
relocate 'edu.umd.cs.findbugs', 'datahub.shaded.findbugs'
Expand Down Expand Up @@ -242,4 +243,4 @@ checkstyleMain.exclude '**/generated/**'

clean {
project.delete("$projectDir/generated")
}
}

0 comments on commit 7a31950

Please sign in to comment.