Skip to content

Commit 8f37934

Browse files
authored
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
1 parent f60d614 commit 8f37934

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libs/x-content/impl/es-jackson-core/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ tasks.named("dependencyLicenses").configure {
2626
}
2727

2828
shadowJar {
29+
exclude { element ->
30+
element.file == null && element.path.endsWith("FilteringParserDelegate.class")
31+
}
2932
manifest {
3033
attributes 'Multi-Release' : 'true'
3134
}

0 commit comments

Comments
 (0)