diff --git a/wrappers/java/build.gradle b/wrappers/java/build.gradle index fb62fed..fa560e0 100644 --- a/wrappers/java/build.gradle +++ b/wrappers/java/build.gradle @@ -99,11 +99,18 @@ task buildAndCopyBinaries { dependsOn ':copyBinaries' } -// Add the dependency to distZip (if it exists from a plugin) +tasks.named('startScripts') { + dependsOn copyMacosNativeDep +} + tasks.named('distZip') { dependsOn copyMacosNativeDep } +tasks.named('distTar') { + dependsOn copyMacosNativeDep +} + /* Copy the native bbs file */ task copyMacosNativeDep(type: Copy) { from 'src/main/jniLibs/darwin-x86_64/libbbs.dylib'