Updates to iOS build

This commit is contained in:
Anuken
2018-08-22 12:42:19 -04:00
parent a804053904
commit a75994cbbf
2 changed files with 9 additions and 11 deletions

View File

@ -127,24 +127,22 @@ project(":ios") {
apply plugin: "robovm" apply plugin: "robovm"
task copyGen{ task copyGen{
doFirst{
copy{ copy{
from ("../core/build/classes/java/main/io/anuke/mindustry/gen/"){ from ("core/build/classes/java/main/io/anuke/mindustry/gen/"){
include "**/*.java" include "**/*.java"
} }
into "../core/src/io/anuke/mindustry/gen" into "ios/src/io/anuke/mindustry/gen"
}
} }
doLast{ doFirst{
delete{ delete{
delete "../core/src/io/anuke/mindustry/gen/" delete "ios/src/io/anuke/mindustry/gen/"
} }
} }
} }
build.finalizedBy(copyGen) build.dependsOn(copyGen)
dependencies { dependencies {
compile project(":core") compile project(":core")

View File

@ -2,5 +2,5 @@ app.version=4.0
app.id=io.anuke.mindustry app.id=io.anuke.mindustry
app.mainclass=io.anuke.mindustry.IOSLauncher app.mainclass=io.anuke.mindustry.IOSLauncher
app.executable=IOSLauncher app.executable=IOSLauncher
app.build=20 app.build=22
app.name=Mindustry app.name=Mindustry