forked from Nilzor/hello-mvp-dagger-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (52 loc) · 2.05 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
classpath 'me.tatarka:gradle-retrolambda:3.2.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://clojars.org/repo/" }
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://jitpack.io' }
}
}
ext.deps = [
// Android
supportannotations: 'com.android.support:support-annotations:23.1.1',
appcompat: 'com.android.support:appcompat-v7:23.1.1',
// RxJava
rxjava: 'io.reactivex:rxjava:1.1.1',
rxandroid: 'io.reactivex:rxandroid:1.1.0',
// ButterKnife
butterknife: 'com.jakewharton:butterknife:7.0.1',
// Dagger
dagger: 'com.google.dagger:dagger:2.0.2',
daggercompiler: 'com.google.dagger:dagger-compiler:2.0.2',
glassfishannotations: 'org.glassfish:javax.annotation:10.0-b28',
// AutoValue / PaperParcel
autovalue: 'com.google.auto.value:auto-value:1.2',
paperparcel: 'com.github.grandstaish.paperparcel:paperparcel:1.0.0-beta1',
paperparcelcompiler: 'com.github.grandstaish.paperparcel:compiler:1.0.0-beta1',
// Unit test dependencies
junit: 'junit:junit:4.12',
robolectric: 'org.robolectric:robolectric:3.0',
mockito: 'org.mockito:mockito-core:1.9.5',
// Integration test dependencies
testrunner: 'com.android.support.test:runner:0.3',
testrules: 'com.android.support.test:rules:0.3',
espresso: 'com.android.support.test.espresso:espresso-core:2.2',
dexmaker: 'com.google.dexmaker:dexmaker:1.2',
dexmakermockito: 'com.google.dexmaker:dexmaker-mockito:1.2',
spoon: 'com.squareup.spoon:spoon-client:1.1.9'
]