-
Notifications
You must be signed in to change notification settings - Fork 71
/
build.gradle
53 lines (45 loc) · 1.15 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
// Pull the plugin from Maven Central
buildscript {
project.ext.roboVMVersion = "1.14.0"
project.ext.roboVMGradleVersion = "1.14.0"
project.ext.roboPodsVersion = "1.14.0"
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
classpath group: 'org.robovm', name: 'robovm-gradle-plugin', version: project.roboVMGradleVersion
}
}
allprojects {
apply plugin: 'java'
apply plugin: 'robovm'
apply plugin: 'idea'
apply plugin: 'eclipse'
sourceSets {
main {
java {
srcDir 'src/main/java'
}
}
}
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
compile group: 'org.robovm', name: 'robovm-rt', version: project.roboVMVersion
compile group: 'org.robovm', name: 'robovm-cocoatouch', version: project.roboVMVersion
}
robovm {
// Configure robovm
}
eclipse.project {
natures 'org.robovm.eclipse.RoboVMNature'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.8'
}