This commit is contained in:
Anuken 2018-11-30 17:48:09 -05:00
parent 7ec6586c4a
commit 51475d600c

View File

@ -104,17 +104,19 @@ project(":ios") {
apply plugin: "robovm"
task copyGen{
copy{
from ("core/build/classes/java/main/io/anuke/mindustry/gen/"){
include "**/*.java"
}
doLast {
copy {
from("../core/build/classes/java/main/io/anuke/mindustry/gen/") {
include "**/*.java"
}
into "core/src/io/anuke/mindustry/gen"
into "../core/src/io/anuke/mindustry/gen"
}
}
doFirst{
delete{
delete "core/src/io/anuke/mindustry/gen/"
delete "../core/src/io/anuke/mindustry/gen/"
}
}
}
@ -132,7 +134,7 @@ project(":ios") {
props['app.mainclass'] = 'io.anuke.mindustry.IOSLauncher'
props['app.executable'] = 'IOSLauncher'
props['app.name'] = 'Mindustry'
props['app.build'] = (!props.hasProperty("app.build") ? 40 : props['app.build'].toInteger() + 1)+""
props['app.build'] = (!props.containsKey("app.build") ? 40 : props['app.build'].toInteger() + 1)+""
props.store(vfile.newWriter(), null)
}
@ -148,7 +150,7 @@ project(":ios") {
compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
compile "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
compileOnly project(":annotations")
//compileOnly project(":annotations")
}
}