From 06e9e269c1eecb21a2c61d9bd6f2c1e43049fa55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 27 Jan 2016 21:41:59 +0100 Subject: remove project ios --- build.gradle | 15 ------ ios/Info.plist.xml | 59 ----------------------- ios/build.gradle | 65 -------------------------- ios/data/Default-568h@2x.png | Bin 84382 -> 0 bytes ios/data/Default.png | Bin 29751 -> 0 bytes ios/data/Default@2x.png | Bin 85109 -> 0 bytes ios/data/Default@2x~ipad.png | Bin 97633 -> 0 bytes ios/data/Default~ipad.png | Bin 34134 -> 0 bytes ios/data/Icon-72.png | Bin 4439 -> 0 bytes ios/data/Icon-72@2x.png | Bin 6231 -> 0 bytes ios/data/Icon.png | Bin 4028 -> 0 bytes ios/data/Icon@2x.png | Bin 5679 -> 0 bytes ios/robovm.properties | 6 --- ios/robovm.xml | 46 ------------------ ios/src/ch/asynk/rustanddust/IOSLauncher.java | 22 --------- settings.gradle | 2 +- 16 files changed, 1 insertion(+), 214 deletions(-) delete mode 100644 ios/Info.plist.xml delete mode 100644 ios/build.gradle delete mode 100644 ios/data/Default-568h@2x.png delete mode 100644 ios/data/Default.png delete mode 100644 ios/data/Default@2x.png delete mode 100644 ios/data/Default@2x~ipad.png delete mode 100644 ios/data/Default~ipad.png delete mode 100644 ios/data/Icon-72.png delete mode 100644 ios/data/Icon-72@2x.png delete mode 100644 ios/data/Icon.png delete mode 100644 ios/data/Icon@2x.png delete mode 100644 ios/robovm.properties delete mode 100644 ios/robovm.xml delete mode 100644 ios/src/ch/asynk/rustanddust/IOSLauncher.java diff --git a/build.gradle b/build.gradle index d32b8dd..e370db6 100644 --- a/build.gradle +++ b/build.gradle @@ -64,21 +64,6 @@ project(":android") { } } -project(":ios") { - apply plugin: "java" - apply plugin: "robovm" - - configurations { natives } - - dependencies { - compile project(":core") - compile "org.robovm:robovm-rt:${roboVMVersion}" - compile "org.robovm:robovm-cocoatouch:${roboVMVersion}" - compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion" - natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios" - } -} - project(":html") { apply plugin: "gwt" apply plugin: "war" diff --git a/ios/Info.plist.xml b/ios/Info.plist.xml deleted file mode 100644 index 407bec7..0000000 --- a/ios/Info.plist.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleDisplayName - ${app.name} - CFBundleExecutable - ${app.executable} - CFBundleIdentifier - ${app.id} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${app.name} - CFBundlePackageType - APPL - CFBundleShortVersionString - ${app.version} - CFBundleSignature - ???? - CFBundleVersion - ${app.build} - LSRequiresIPhoneOS - - UIViewControllerBasedStatusBarAppearance - - UIStatusBarHidden - - UIDeviceFamily - - 1 - 2 - - UIRequiredDeviceCapabilities - - armv7 - opengles-2 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - CFBundleIcons - - CFBundlePrimaryIcon - - CFBundleIconFiles - - Icon - Icon-72 - - - - - diff --git a/ios/build.gradle b/ios/build.gradle deleted file mode 100644 index f237649..0000000 --- a/ios/build.gradle +++ /dev/null @@ -1,65 +0,0 @@ -sourceSets.main.java.srcDirs = [ "src/" ] - -sourceCompatibility = '1.7' -[compileJava, compileTestJava]*.options*.encoding = 'UTF-8' - -ext { - mainClassName = "ch.asynk.rustanddust.IOSLauncher" -} - -// Extracts native libs (*.a) from the native-ios.jar and places them -// under build/libs/ios/. -task copyNatives << { - file("build/libs/ios/").mkdirs(); - configurations.natives.files.each { jar -> - def outputDir = null - if (jar.name.endsWith("natives-ios.jar")) outputDir = file("build/libs/ios") - if (outputDir != null) { - copy { - from zipTree(jar) - into outputDir - include "*.a" - } - } - } -} - -// Updates a robovm.xml file. -task updateRoboVMXML << { - def xml = file('robovm.xml') - - if (!xml.exists()) { - return - } - - // Find all native (*.a) libraries beneath libs - def libtree = fileTree(dir: 'build/libs', include: '**/*.a') - - def config = new groovy.util.XmlParser().parse(xml) - config.libs.each {libs -> - libs.children().clear() - libtree.each { File file -> - libs.appendNode('lib', 'build/libs/ios/' + file.getName()) - } - } - - def writer = new FileWriter(xml) - def printer = new XmlNodePrinter(new PrintWriter(writer)) - printer.setPreserveWhitespace true - printer.print(config) -} - -updateRoboVMXML.dependsOn copyNatives -build.dependsOn updateRoboVMXML -tasks.eclipse.dependsOn updateRoboVMXML - -launchIPhoneSimulator.dependsOn build -launchIPadSimulator.dependsOn build -launchIOSDevice.dependsOn build -createIPA.dependsOn build - - -eclipse.project { - name = appName + "-ios" - natures 'org.robovm.eclipse.RoboVMNature' -} \ No newline at end of file diff --git a/ios/data/Default-568h@2x.png b/ios/data/Default-568h@2x.png deleted file mode 100644 index 101752f..0000000 Binary files a/ios/data/Default-568h@2x.png and /dev/null differ diff --git a/ios/data/Default.png b/ios/data/Default.png deleted file mode 100644 index f1a5582..0000000 Binary files a/ios/data/Default.png and /dev/null differ diff --git a/ios/data/Default@2x.png b/ios/data/Default@2x.png deleted file mode 100644 index ca32f62..0000000 Binary files a/ios/data/Default@2x.png and /dev/null differ diff --git a/ios/data/Default@2x~ipad.png b/ios/data/Default@2x~ipad.png deleted file mode 100644 index bb77ef0..0000000 Binary files a/ios/data/Default@2x~ipad.png and /dev/null differ diff --git a/ios/data/Default~ipad.png b/ios/data/Default~ipad.png deleted file mode 100644 index 855e4f2..0000000 Binary files a/ios/data/Default~ipad.png and /dev/null differ diff --git a/ios/data/Icon-72.png b/ios/data/Icon-72.png deleted file mode 100644 index 8cc5759..0000000 Binary files a/ios/data/Icon-72.png and /dev/null differ diff --git a/ios/data/Icon-72@2x.png b/ios/data/Icon-72@2x.png deleted file mode 100644 index ec5e380..0000000 Binary files a/ios/data/Icon-72@2x.png and /dev/null differ diff --git a/ios/data/Icon.png b/ios/data/Icon.png deleted file mode 100644 index 7f4bf36..0000000 Binary files a/ios/data/Icon.png and /dev/null differ diff --git a/ios/data/Icon@2x.png b/ios/data/Icon@2x.png deleted file mode 100644 index eddc17c..0000000 Binary files a/ios/data/Icon@2x.png and /dev/null differ diff --git a/ios/robovm.properties b/ios/robovm.properties deleted file mode 100644 index e4ed11a..0000000 --- a/ios/robovm.properties +++ /dev/null @@ -1,6 +0,0 @@ -app.version=1.0 -app.id=ch.asynk.rustanddust.IOSLauncher -app.mainclass=ch.asynk.rustanddust.IOSLauncher -app.executable=IOSLauncher -app.build=1 -app.name=RustAndDust diff --git a/ios/robovm.xml b/ios/robovm.xml deleted file mode 100644 index df09d9d..0000000 --- a/ios/robovm.xml +++ /dev/null @@ -1,46 +0,0 @@ - - ${app.executable} - ${app.mainclass} - ios - thumbv7 - ios - Info.plist.xml - - - ../android/assets - - ** - - true - - - data - - - - com.badlogic.gdx.scenes.scene2d.ui.* - com.badlogic.gdx.physics.bullet.** - com.android.okhttp.HttpHandler - com.android.okhttp.HttpsHandler - com.android.org.conscrypt.** - com.android.org.bouncycastle.jce.provider.BouncyCastleProvider - com.android.org.bouncycastle.jcajce.provider.keystore.BC$Mappings - com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi - com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi$Std - com.android.org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi - com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryOpenSSL - org.apache.harmony.security.provider.cert.DRLCertFactory - org.apache.harmony.security.provider.crypto.CryptoProvider - - - - - UIKit - OpenGLES - QuartzCore - CoreGraphics - OpenAL - AudioToolbox - AVFoundation - - diff --git a/ios/src/ch/asynk/rustanddust/IOSLauncher.java b/ios/src/ch/asynk/rustanddust/IOSLauncher.java deleted file mode 100644 index df242cf..0000000 --- a/ios/src/ch/asynk/rustanddust/IOSLauncher.java +++ /dev/null @@ -1,22 +0,0 @@ -package ch.asynk.rustanddust; - -import org.robovm.apple.foundation.NSAutoreleasePool; -import org.robovm.apple.uikit.UIApplication; - -import com.badlogic.gdx.backends.iosrobovm.IOSApplication; -import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; -import ch.asynk.rustanddust.RustAndDust; - -public class IOSLauncher extends IOSApplication.Delegate { - @Override - protected IOSApplication createApplication() { - IOSApplicationConfiguration config = new IOSApplicationConfiguration(); - return new IOSApplication(new RustAndDust(), config); - } - - public static void main(String[] argv) { - NSAutoreleasePool pool = new NSAutoreleasePool(); - UIApplication.main(argv, null, IOSLauncher.class); - pool.close(); - } -} \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index 4f7362c..15de458 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -include 'desktop', 'android', 'ios', 'html', 'core', 'assets' +include 'desktop', 'android', 'html', 'core', 'assets' -- cgit v1.1-2-g2b99