Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2018-08-08 15:04:04 -04:00
2 changed files with 20 additions and 6 deletions

View File

@@ -126,21 +126,35 @@ project(":ios") {
apply plugin: "java" apply plugin: "java"
apply plugin: "robovm" 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 { dependencies {
compile project(":core") compile project(":core")
implementation project(":kryonet") implementation project(":kryonet")
compileOnly project(":annotations")
compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion" compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
compile "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion" compile "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion" compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios" compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
} }
compileJava.options.compilerArgs += [
"-processor", "io.anuke.annotations.RemoteMethodAnnotationProcessor"
]
} }
project(":core") { project(":core") {

View File

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