mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-13 00:05:23 +07:00
iOS fix
This commit is contained in:
parent
7ec6586c4a
commit
51475d600c
18
build.gradle
18
build.gradle
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user