buildscript { repositories { mavenCentral() } dependencies { classpath "com.mobidevelop.robovm:robovm-gradle-plugin:$robovmVersion" } } apply plugin: 'robovm' [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' ext { mainClassName = "xyz.prismix.ios.IOSLauncher" } launchIPhoneSimulator.dependsOn build launchIPadSimulator.dependsOn build launchIOSDevice.dependsOn build createIPA.dependsOn build eclipse.project { name = appName + "-ios" natures 'org.robovm.eclipse.RoboVMNature' } dependencies { implementation "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion" implementation "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios" implementation "com.badlogicgames.gdx:gdx-bullet-platform:$gdxVersion:natives-ios" implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios" implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios" implementation "com.github.MrStahlfelge.gdx-websockets:common:$websocketVersion" implementation "com.mobidevelop.robovm:robovm-cocoatouch:$robovmVersion" implementation "com.mobidevelop.robovm:robovm-rt:$robovmVersion" implementation project(':core') }