mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-07 05:51:12 +07:00
59e4eb8373
* updated to 1.7.0 * change to empty else * bumped ios java to 1.8
40 lines
705 B
Plaintext
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")
|
|
}
|