-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (40 loc) · 1.09 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
/**
* Robovm app build script.
*/
buildscript {
ext {
kotlin_version = '1.0.2'
gradle_version = '2.13'
robovm_version = '2.2.0-SNAPSHOT'
}
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.mobidevelop.robovm:robovm-gradle-plugin:$robovm_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'idea'
apply plugin: 'robovm'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url "https://maven-central.storage.googleapis.com" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "com.mobidevelop.robovm:robovm-rt:$robovm_version"
compile "com.mobidevelop.robovm:robovm-cocoatouch:$robovm_version"
testCompile "junit:junit:4.12"
}
robovm {
}
wrapper {
gradleVersion = gradle_version
}