Skip to content

Commit

Permalink
Set multi-release in manifest while shadowing arrow-memory-shaded
Browse files Browse the repository at this point in the history
Signed-off-by: Rishabh Maurya <[email protected]>
  • Loading branch information
rishabhmaurya committed Jan 27, 2025
1 parent 5f71494 commit 4464ba4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/arrow-memory-shaded/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ tasks.named("shadowJar").configure {
include(dependency('com.fasterxml.jackson.core:'))
include(dependency('commons-codec:'))
}
exclude 'META-INF/maven/**'
manifest {
attributes('Multi-Release': 'true')
}
relocate 'io.netty', 'org.opensearch.shaded.io.netty'
relocate 'org.checkerframework', 'org.opensearch.shaded.org.checkerframework'
relocate 'org.apache.commons.codec', 'org.opensearch.shaded.commons.codec'
Expand Down
1 change: 1 addition & 0 deletions libs/flight-core-shaded/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ shadowJar {
dependencies {
include(dependency('org.apache.arrow:'))
}
exclude 'META-INF/maven/**'
relocate 'io.grpc.netty', 'io.grpc.netty.shaded.io.grpc.netty'
relocate 'io.netty', 'io.grpc.netty.shaded.io.netty'
mergeServiceFiles()
Expand Down

0 comments on commit 4464ba4

Please sign in to comment.