mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-18 03:37:44 +07:00
Updates to iOS build
This commit is contained in:
12
build.gradle
12
build.gradle
@ -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")
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user