Skip to content

Commit

Permalink
Make Beam expansion service shadowJar multi-release so it processes m…
Browse files Browse the repository at this point in the history
…ulti-release dependencies correctly (#33472)
  • Loading branch information
Abacn authored Jan 2, 2025
1 parent 18ec331 commit ee478ed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdks/java/extensions/sql/expansion-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@ task runExpansionService (type: JavaExec) {
}

shadowJar {
manifest {
attributes(["Multi-Release": true])
}
outputs.upToDateWhen { false }
}
3 changes: 3 additions & 0 deletions sdks/java/io/expansion-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ configurations.runtimeClasspath {
}

shadowJar {
manifest {
attributes(["Multi-Release": true])
}
mergeServiceFiles()
outputs.upToDateWhen { false }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@ task runExpansionService (type: JavaExec) {
}

shadowJar {
manifest {
attributes(["Multi-Release": true])
}
outputs.upToDateWhen { false }
}

0 comments on commit ee478ed

Please sign in to comment.