fix(datahub-client): Include relocation for snakeyaml dependency. (#8911)

Co-authored-by: david-leifker <114954101+david-leifker@users.noreply.github.com>
This commit is contained in:
Jia (Jason) Teoh 2023-10-31 18:41:16 -07:00 committed by GitHub
parent dae320c9bc
commit 7a31950f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
@ -242,4 +243,4 @@ checkstyleMain.exclude '**/generated/**'
clean {
project.delete("$projectDir/generated")
}
}