22 lines
435 B
Groovy
22 lines
435 B
Groovy
|
sourceSets.main.java.srcDirs = [ "src/" ]
|
||
|
|
||
|
sourceCompatibility = '1.7'
|
||
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
||
|
|
||
|
ext {
|
||
|
mainClassName = "IOSLauncher"
|
||
|
}
|
||
|
|
||
|
launchIPhoneSimulator.dependsOn build
|
||
|
launchIPadSimulator.dependsOn build
|
||
|
launchIOSDevice.dependsOn build
|
||
|
createIPA.dependsOn build
|
||
|
|
||
|
robovm {
|
||
|
archs = "thumbv7:arm64"
|
||
|
}
|
||
|
|
||
|
eclipse.project {
|
||
|
name = appName + "-ios"
|
||
|
natures 'org.robovm.eclipse.RoboVMNature'
|
||
|
}
|