Link to new native folder. Don't copy to build folder

This commit is contained in:
Longri 2016-07-04 18:38:49 +02:00
parent c389abc7a2
commit 122618c00a
2 changed files with 1 additions and 9 deletions

View File

@ -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

View File

@ -33,7 +33,7 @@
<pattern>org.apache.harmony.security.provider.crypto.CryptoProvider</pattern>
</forceLinkClasses>
<libs>
<lib>build/natives/libvtm-jni.a</lib>
<lib>natives/libvtm-jni.a</lib>
</libs>
<frameworks>
<framework>UIKit</framework>