-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
92 lines (81 loc) · 2.94 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
88
89
90
91
92
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
maven { url "https://raw.github.com/Raizlabs/maven-releases/master/releases" }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://www.jitpack.io" }
}
configurations.all {
resolutionStrategy.force 'com.android.support:support-annotations:22.2.1'
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
ext {
configuration = [
package : "org.hisp.dhis.android.skeleton",
buildToolsVersion: "25.0.0",
minSdkVersion : 15,
compileSdkVersion: 25,
targetSdkVersion : 25,
versionCode : 37,
versionName : "QAApp"
]
libraries = [
// dhis libs
dhisCommonsVersion : "1.1",
// android libs
supportVersion : "25.1.0",
rxAndroidVersion : "1.1.0",
dbFlowVersion : "3.0.1",
progressBarVersion : "1.2.0",
smoothProgressBarVersion: "1.1.0",
crashlyticsVersion : "2.5.5",
stethoVersion : "1.3.1",
multidex : "1.0.1",
gmsPlayVersion : "8.4.0",
// java libs
timberVersion : "4.1.0",
okhttpVersion : "3.2.0",
retrofitVersion : "2.0.0",
jacksonVersion : "2.7.4",
jodaTimeVersion : "2.9.2",
jexlVersion : "2.1.1",
commonsLang3Version : "3.3.2",
commonsMath3Version : "3.6",
dagger : "2.2",
javapoetVersion : "1.7.0",
guavaVersion : "18.0",
opencsvVersion : "3.3",
libphonenumberVersion : "7.0.9",
easypermissionsVersion : "0.1.5",
googleApiClientAndroidVersion : "1.20.0",
googleApiServicesDriveVersion : "v3-rev6-1.20.0",
jsr305Version : "2.0.1",
// testing libs
jUnitVersion : "4.12",
mockitoVersion : "1.10.19",
powerMockVersion : "1.6.3",
runnerVersion : "0.4.1",
espressoVersion : "2.2.1",
]
// Old App dependencies versions
okhttpVersion = '2.2.0'
}
task clean(type: Delete) {
delete rootProject.buildDir
}