forked from dhis2/dhis2-android-dataentry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
88 lines (69 loc) · 2.24 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
apply plugin: "com.gradle.build-scan"
buildscript {
repositories {
jcenter()
// required by retrolambda
mavenCentral()
// Required by build-scan and error-prone plugins.
maven {
url("https://plugins.gradle.org/m2/")
}
// required by crashlytics
maven {
url("https://maven.fabric.io/public")
}
}
dependencies {
classpath "com.android.tools.build:gradle:2.2.3"
// provides insight on how many method references
// are present in dex file
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"
// allows to set BuildConfig fields during compilation
// without breaking incremental compilation
classpath "hu.supercluster:paperwork-plugin:1.2.7"
// enables cloud features of gradle plugin
classpath "com.gradle:build-scan-plugin:1.3"
// https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
classpath "io.fabric.tools:gradle:1.22.0"
// provides missing implementation of lambdas from java 8
classpath "me.tatarka:gradle-retrolambda:3.4.0"
// generates test reports with screenshots
classpath "com.stanfy.spoon:spoon-gradle-plugin:1.2.2"
// static analysis tool
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.2.1"
}
}
buildScan {
licenseAgreementUrl = "https://gradle.com/terms-of-service"
licenseAgree = "yes"
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
versions = [
sdk : 25,
tools : "25.0.2",
minSdk: 15
]
libraries = [
support : "25.1.0",
crashlytics : "2.6.5",
paperwork : "1.2.7",
// test dependencies
espresso : "2.2.2",
mockito : "2.6.2",
assertj : "2.5.0",
junit : "4.12",
spoon : "1.7.0",
// plugins
errorpronecore: "2.0.15"
]
}