forked from dhis2/dhis2-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
87 lines (70 loc) · 2.04 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
apply plugin: "com.gradle.build-scan"
buildscript {
repositories {
jcenter()
// Required by build-scan and error-prone plugins.
maven {
url("https://plugins.gradle.org/m2/")
}
}
dependencies {
// android gradle plugin
classpath "com.android.tools.build:gradle:2.3.3"
// method count plugin
classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.1"
// semantic, static analysis of the source code
classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.0.8"
// apt plugin for java
classpath "net.ltgt.gradle:gradle-apt-plugin:0.9"
// enables cloud features of gradle plugin
classpath "com.gradle:build-scan-plugin:1.3"
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
buildScan {
licenseAgreementUrl = "https://gradle.com/terms-of-service"
licenseAgree = "yes"
}
subprojects { project ->
group = GROUP
version = VERSION_NAME
}
ext {
configuration = [
buildToolsVersion: "25.0.2",
minSdkVersion : 15,
targetSdkVersion : 25,
versionCode : 31,
versionName : "0.3.1-SNAPSHOT"
]
libraries = [
// android
support : "25.1.1",
// java
jackson : "2.8.5",
autovalue : "1.3",
autovaluecursor : "1.0.1",
retrofit : "2.1.0",
okhttp : "3.5.0",
duktape : "1.1.0",
// @NonNull, @Nullable
// annotations for java modules
jsr305 : "3.0.1",
// test dependencies
junit : "4.12",
assertj : "3.5.2",
mockito : "1.10.19",
truth : "0.31",
testrunner : "0.5",
equalsverifier : "2.1.8",
// plugins
errorpronecore : "2.0.15"
]
}