2
0
Эх сурвалжийг харах

- fix copying of precompiled bullet native files

Normen Hansen 10 жил өмнө
parent
commit
c924a94e92

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

@@ -147,7 +147,7 @@ binaries.withType(SharedLibraryBinary) { binary ->
         //Get from libs folder if no fresh build is available in the build folder and add to jar file
         if(!binary.tasks.outputFile.get(0).exists()){
             def fileName = binary.tasks.outputFile.get(0).getName();
-            def precompiledFile = new File("libs/native/${targetPlatform.operatingSystem.name}/${targetPlatform.architecture.name}/${fileName}")
+            def precompiledFile = new File(project.projectDir.absolutePath + File.separator + "libs" + File.separator + "native" + File.separator + "${targetPlatform.operatingSystem.name}" + File.separator + "${targetPlatform.architecture.name}" + File.separator + "${fileName}")
             if(precompiledFile.exists()){
                 jar.into("native/${targetPlatform.operatingSystem.name}/${targetPlatform.architecture.name}") { from precompiledFile }
             }