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"
task copyGen{
doFirst{
copy{
from ("../core/build/classes/java/main/io/anuke/mindustry/gen/"){
include "**/*.java"
}
into "../core/src/io/anuke/mindustry/gen"
copy{
from ("core/build/classes/java/main/io/anuke/mindustry/gen/"){
include "**/*.java"
}
into "ios/src/io/anuke/mindustry/gen"
}
doLast{
doFirst{
delete{
delete "../core/src/io/anuke/mindustry/gen/"
delete "ios/src/io/anuke/mindustry/gen/"
}
}
}
build.finalizedBy(copyGen)
build.dependsOn(copyGen)
dependencies {
compile project(":core")

View File

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