forked from BlueRiverInteractive/robovm-ios-bindings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (50 loc) · 1.33 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
buildscript {
repositories {
mavenCentral()
mavenLocal()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
classpath 'org.robovm:robovm-gradle-plugin:1.8.0'
}
}
allprojects {
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "java"
apply plugin: "robovm"
version = '1.0.0'
ext {
roboVMVersion = '1.8.0'
}
dependencies {
compile "org.robovm:robovm-rt:${roboVMVersion}"
compile "org.robovm:robovm-cocoatouch:${roboVMVersion}"
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
sourceSets.main.java.srcDirs = ["src/"]
sourceCompatibility = '1.7'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
launchIPhoneSimulator.dependsOn build
launchIPadSimulator.dependsOn build
launchIOSDevice.dependsOn build
createIPA.dependsOn build
jar {
into('META-INF/robovm/ios') {
from(".") { include "robovm.xml" }
}
into('META-INF/robovm/ios/libs') {
from 'libs'
}
into('META-INF/robovm/ios/resources') {
from 'resources'
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}