Merge pull request #47 from Longri/fix-iOS-native
Link to new native folder. Don't copy to build folder
This commit is contained in:
commit
53cafa2f3b
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user