Unciv/ios/build.gradle.kts
alexban011 59e4eb8373
increased kotlin version to latest 1.7.0 (#7151)
* updated to 1.7.0

* change to empty else

* bumped ios java to 1.8
2022-06-14 21:10:44 +03:00

40 lines
705 B
Plaintext

import com.android.build.gradle.internal.tasks.factory.dependsOn
import com.unciv.build.BuildConfig
sourceSets {
main {
java.srcDir("src/")
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
}
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")
}