Updated build.gradle

This commit is contained in:
Anuken 2018-08-08 14:42:10 -04:00
parent ad83a7dcc3
commit 6349530fc5
2 changed files with 20 additions and 6 deletions

View File

@ -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") {

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=19
app.build=20
app.name=Mindustry