-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
122 lines (105 loc) · 4.9 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
// Android Architecture top-level build file (configuration options common to all sub-projects/modules).
ext {
// APP LIBRARIES
android_support_version = "20.0.0"
retrofit_version = "1.4.1"
okhttp_version = "1.5.2"
picasso_version = "2.2.0"
gson_version = "2.2.4"
dagger_version = "1.2.1"
joda_time_version = "2.3"
guava_version = "17.0"
findbugs_jsr305_annotations_version = "1.3.9" // needed for Guava
butterknife_version = "5.1.2"
timber_version = "2.4.1"
// TESTING
junit_version = "4.11"
fest_android_version = "1.0.7"
assertj_android_version = "1.0.0"
mockito_version = "1.8.5"
robolectric_version = "2.3"
espresso_version = "1.1.0-SNAPSHOT"
// INFRASTRUCTURE
}
ext.libraries = [
android_support : "com.android.support:support-v4:$android_support_version",
retrofit : "com.squareup.retrofit:retrofit:$retrofit_version",
retrofit_jackson: "com.squareup.retrofit:converter-jackson:$retrofit_version",
picasso : "com.squareup.picasso:picasso:$picasso_version",
gson : "com.google.code.gson:gson:$gson_version",
dagger : "com.squareup.dagger:dagger:$dagger_version",
dagger_compiler : "com.squareup.dagger:dagger-compiler:$dagger_version",
okhttp : "com.squareup.okhttp:okhttp:$okhttp_version",
joda_time : "joda-time:joda-time:$joda_time_version",
guava : "com.google.guava:guava:$guava_version",
findbugs_jsr305 : "com.google.code.findbugs:jsr305:$findbugs_jsr305_annotations_version",
butterknife : "com.jakewharton:butterknife:$butterknife_version",
timber : "com.jakewharton.timber:timber:$timber_version",
// TESTING
espresso : "com.google.android:android-espresso-bundled:$espresso_version",
junit : "junit:junit:$junit_version",
/*junit : dependencies.create("junit:junit:$junit_version") {
exclude module: 'hamcrest-core'
},*/
mockito : "org.mockito:mockito-all:$mockito_version",
robolectric : dependencies.create("org.robolectric:robolectric:$robolectric_version") {
exclude module: "support-v4"
exclude module: 'classworlds'
exclude module: 'commons-logging'
exclude module: 'httpclient'
exclude module: 'maven-artifact'
exclude module: 'maven-artifact-manager'
exclude module: 'maven-error-diagnostics'
exclude module: 'maven-model'
exclude module: 'maven-project'
exclude module: 'maven-settings'
exclude module: 'plexus-container-default'
exclude module: 'plexus-interpolation'
exclude module: 'plexus-utils'
exclude module: 'wagon-file'
exclude module: 'wagon-http-lightweight'
exclude module: 'wagon-provider-api'
},
fest_android : "com.squareup:fest-android:$fest_android_version",
assertj_android : [ // group the core AssertJ dependency with the add-on modules
"com.squareup.assertj:assertj-android:$assertj_android_version", // core android module
"com.squareup.assertj:assertj-android-support-v4:$assertj_android_version", // support-v4 module
"com.squareup.assertj:assertj-android-play-services:$assertj_android_version", // google play services module
//"com.squareup.assertj:assertj-android-appcompat-v7:$assertj_android_version", // appcompat-v7 module
//"com.squareup.assertj:assertj-android-mediarouter-v7:$assertj_android_version", // mediarouter-v7 module
"com.squareup.assertj:assertj-android-gridlayout-v7:$assertj_android_version", // gridlayout-v7 module
//"com.squareup.assertj:assertj-android-cardview-v7:$assertj_android_version", // cardview-v7 module
//"com.squareup.assertj:assertj-android-recyclerview-v7:$assertj_android_version" // recyclerview-v7 module
]
// INFRASTRUCTURE
]
buildscript {
repositories {
jcenter()
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
maven {
url "https://github.com/novoda/public-mvn-repo/raw/master/releases"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
maven {
url "https://github.com/novoda/public-mvn-repo/raw/master/releases"
}
}
}
apply plugin: 'build-dashboard'