mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-22 10:17:47 +07:00
Updated build.gradle
This commit is contained in:
parent
ad83a7dcc3
commit
6349530fc5
24
build.gradle
24
build.gradle
@ -126,21 +126,35 @@ project(":ios") {
|
||||
apply plugin: "java"
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
||||
doLast{
|
||||
delete{
|
||||
delete "../core/src/io/anuke/mindustry/gen/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
build.finalizedBy(copyGen)
|
||||
|
||||
dependencies {
|
||||
compile project(":core")
|
||||
implementation project(":kryonet")
|
||||
compileOnly project(":annotations")
|
||||
|
||||
compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
|
||||
compile "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
|
||||
compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
|
||||
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
|
||||
}
|
||||
|
||||
compileJava.options.compilerArgs = [
|
||||
"-processor", "io.anuke.annotations.RemoteMethodAnnotationProcessor"
|
||||
]
|
||||
}
|
||||
|
||||
project(":core") {
|
||||
|
@ -2,5 +2,5 @@ app.version=4.0
|
||||
app.id=io.anuke.mindustry
|
||||
app.mainclass=io.anuke.mindustry.IOSLauncher
|
||||
app.executable=IOSLauncher
|
||||
app.build=19
|
||||
app.build=20
|
||||
app.name=Mindustry
|
||||
|
Loading…
Reference in New Issue
Block a user