Link to new native folder. Don't copy to build folder
This commit is contained in:
parent
c389abc7a2
commit
122618c00a
@ -38,11 +38,6 @@ dependencies {
|
|||||||
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
|
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyLibs(type: Copy) {
|
|
||||||
from("natives")
|
|
||||||
into("${buildDir}/natives")
|
|
||||||
}
|
|
||||||
|
|
||||||
task copyVtmResources(type: Copy) {
|
task copyVtmResources(type: Copy) {
|
||||||
from("../vtm/resources")
|
from("../vtm/resources")
|
||||||
into("${buildDir}")
|
into("${buildDir}")
|
||||||
@ -53,9 +48,6 @@ task copyVtmThemesResources(type: Copy) {
|
|||||||
into("${buildDir}")
|
into("${buildDir}")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(org.gradle.api.tasks.compile.JavaCompile) {
|
|
||||||
compileTask -> compileTask.dependsOn copyLibs
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.withType(org.gradle.api.tasks.compile.JavaCompile) {
|
tasks.withType(org.gradle.api.tasks.compile.JavaCompile) {
|
||||||
compileTask -> compileTask.dependsOn copyVtmResources
|
compileTask -> compileTask.dependsOn copyVtmResources
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<pattern>org.apache.harmony.security.provider.crypto.CryptoProvider</pattern>
|
<pattern>org.apache.harmony.security.provider.crypto.CryptoProvider</pattern>
|
||||||
</forceLinkClasses>
|
</forceLinkClasses>
|
||||||
<libs>
|
<libs>
|
||||||
<lib>build/natives/libvtm-jni.a</lib>
|
<lib>natives/libvtm-jni.a</lib>
|
||||||
</libs>
|
</libs>
|
||||||
<frameworks>
|
<frameworks>
|
||||||
<framework>UIKit</framework>
|
<framework>UIKit</framework>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user