From 122618c00a84f4585812bed6e23f8a261234a0f2 Mon Sep 17 00:00:00 2001 From: Longri Date: Mon, 4 Jul 2016 18:38:49 +0200 Subject: [PATCH] Link to new native folder. Don't copy to build folder --- vtm-ios/build.gradle | 8 -------- vtm-ios/robovm.xml | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/vtm-ios/build.gradle b/vtm-ios/build.gradle index 6c1e9b36..fdde1f0b 100644 --- a/vtm-ios/build.gradle +++ b/vtm-ios/build.gradle @@ -38,11 +38,6 @@ dependencies { compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios" } -task copyLibs(type: Copy) { - from("natives") - into("${buildDir}/natives") -} - task copyVtmResources(type: Copy) { from("../vtm/resources") into("${buildDir}") @@ -53,9 +48,6 @@ task copyVtmThemesResources(type: Copy) { into("${buildDir}") } -tasks.withType(org.gradle.api.tasks.compile.JavaCompile) { - compileTask -> compileTask.dependsOn copyLibs -} tasks.withType(org.gradle.api.tasks.compile.JavaCompile) { compileTask -> compileTask.dependsOn copyVtmResources diff --git a/vtm-ios/robovm.xml b/vtm-ios/robovm.xml index 8180d96b..ff0a8149 100644 --- a/vtm-ios/robovm.xml +++ b/vtm-ios/robovm.xml @@ -33,7 +33,7 @@ org.apache.harmony.security.provider.crypto.CryptoProvider - build/natives/libvtm-jni.a + natives/libvtm-jni.a UIKit