diff --git a/java/client/build.gradle b/java/client/build.gradle index bfb267b027..e0d7213eb0 100644 --- a/java/client/build.gradle +++ b/java/client/build.gradle @@ -201,6 +201,10 @@ publishing { } } +tasks.withType(GenerateModuleMetadata) { + dependsOn jar, shadowJar +} + java { modularity.inferModulePath = true withSourcesJar()