浏览代码

jme3-bullet-native: copyBinaryToLibs to depend on building native lib

Kirill Vainer 10 年之前
父节点
当前提交
25da36e590
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jme3-bullet-native/build.gradle

+ 1 - 1
jme3-bullet-native/build.gradle

@@ -175,7 +175,7 @@ binaries.withType(SharedLibraryBinary) { binary ->
     // Add depend on build
     jar.dependsOn builderTask
     // Add output to libs folder
-    task "copyBinaryToLibs${targetPlatform}"(type: Copy) {
+    task "copyBinaryToLibs${targetPlatform}"(type: Copy, dependsOn: builderTask) {
         from builderTask.outputFile
         into "libs/native/${targetPlatform.operatingSystem.name}/${targetPlatform.architecture.name}"
     }