-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
39 lines (33 loc) · 982 Bytes
/
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
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.10-SNAPSHOT'
}
}
project(":core") {
apply from: "../../gradle/basic-java.gradle"
dependencies {
implementation "com.squareup.retrofit:retrofit:2.0.0-beta2"
implementation "com.squareup.retrofit:converter-gson:2.0.0-beta2"
implementation "com.google.code.gson:gson:2.3.1"
}
}
project(":sdk") {
apply from: "../../gradle/basic-java.gradle"
apply from: "../../gradle/robovm-project.gradle"
dependencies {
implementation project(":core")
}
task buildAnswerMeNatives (type: Exec) {
doFirst {
workingDir '.'
commandLine './build-native.sh'
}
}
build.dependsOn buildAnswerMeNatives
robovmInstall.dependsOn build
}