From c924a94e92f9c74f4b56b1a40bd55526009b5bd9 Mon Sep 17 00:00:00 2001 From: Normen Hansen Date: Sun, 25 Jan 2015 02:15:53 +0100 Subject: [PATCH] - fix copying of precompiled bullet native files --- jme3-bullet-native/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-bullet-native/build.gradle b/jme3-bullet-native/build.gradle index 446bc0ec7..7b8fc60bd 100644 --- a/jme3-bullet-native/build.gradle +++ b/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 } }