Skip to content

Commit

Permalink
Fix to use java-core shadowjar as source to build direct-runner-java
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn committed Nov 6, 2024
1 parent 10189e8 commit 80f8776
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion runners/direct-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@ dependencies {
shadow library.java.vendored_guava_32_1_2_jre
shadow project(path: ":model:pipeline", configuration: "shadow")
dependOnProjects.each {
implementation project(it)
// For projects producing shadowjar, use the packaged jar as dependency to
// handle redirected packages from it
if (it == ":sdks:java:core") {
shadow project(path: it, configuration: "shadow")
} else {
implementation project(it)
}
}
shadow library.java.vendored_grpc_1_60_1
shadow library.java.joda_time
Expand Down

0 comments on commit 80f8776

Please sign in to comment.