-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
66 lines (56 loc) · 2.08 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
minSdkVersion = 16
targetSdkVersion = 24
compileSdkVersion = 24
buildToolsVersion = '24.0.3'
// test dependencies
jUnit = 'junit:junit:4.12'
mockito = 'org.mockito:mockito-all:1.10.19'
hamcrest = 'org.hamcrest:hamcrest-all:1.3'
supportVersion = '25.2.0'
support = [
appcompat: "com.android.support:appcompat-v7:$supportVersion",
design: "com.android.support:design:$supportVersion",
recyclerview: "com.android.support:recyclerview-v7:$supportVersion",
cardview: "com.android.support:cardview-v7:$supportVersion"
]
// android test dependencies
testSupportVersion = '0.4.1'
espressoVersion = '2.2.1'
espressoExcludes = ['support-annotations', 'support-v4', 'support-v13', 'recyclerview-v7']
supportTest = [
runner: "com.android.support.test:runner:$testSupportVersion",
rules: "com.android.support.test:rules:$testSupportVersion",
espressoCore: "com.android.support.test.espresso:espresso-core:$espressoVersion",
espressoContrib: "com.android.support.test.espresso:espresso-contrib:$espressoVersion",
espressoIntents: "com.android.support.test.espresso:espresso-intents:$espressoVersion"
]
// app dependencies
daggerCompiler = 'com.google.dagger:dagger-compiler:2.5'
dagger = 'com.google.dagger:dagger:2.5'
jsr250 = 'javax.annotation:jsr250-api:1.0'
retrofit = 'com.squareup.retrofit:retrofit:1.9.0'
rxJava = 'io.reactivex:rxjava:1.0.4'
rxAndroid = 'io.reactivex:rxandroid:0.24.0'
}