Exclude the class from jackson jar (#93052)

in #92984 we override a file in jackson jar, but we rely on gradle internals which might change at any point.
This fixes this by excluding a element from a jar and allowing a new class to be added
This commit is contained in:
Przemyslaw Gomulka 2023-01-18 16:59:09 +01:00 committed by GitHub
parent f60d614dc0
commit 8f37934a76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ tasks.named("dependencyLicenses").configure {
}
shadowJar {
exclude { element ->
element.file == null && element.path.endsWith("FilteringParserDelegate.class")
}
manifest {
attributes 'Multi-Release' : 'true'
}