Unciv/ios/build.gradle.kts

39 lines
704 B
Text
Raw Normal View History

import com.android.build.gradle.internal.tasks.factory.dependsOn
import com.unciv.build.BuildConfig
sourceSets {
main {
java.srcDir("src/")
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_7
}
tasks {
compileJava {
options.encoding = "UTF-8"
}
compileTestJava {
options.encoding = "UTF-8"
}
}
extra.set("mainClassName", "IOSLauncher")
tasks {
launchIPhoneSimulator.dependsOn(build)
launchIPadSimulator.dependsOn(build)
launchIOSDevice.dependsOn(build)
createIPA.dependsOn(build)
}
robovm {
archs = "thumbv7:arm64"
}
eclipse.project {
name = "${BuildConfig.appName}-ios"
natures("org.robovm.eclipse.RoboVMNature")
}