This repository has been archived by the owner on Jul 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
52 lines (43 loc) · 1.71 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.squareup.sqldelight:gradle-plugin:0.6.0'
classpath 'me.tatarka:gradle-retrolambda:3.4.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
ext {
def SUPPORT_LIBRARY_VERSION = '25.3.0'
def DAGGER_VERSION = '2.9'
def BUTTERKNIFE_VERSION = '8.4.0'
// Android dependencies.
supportV4 = "com.android.support:support-v4:$SUPPORT_LIBRARY_VERSION"
appCompat = "com.android.support:appcompat-v7:$SUPPORT_LIBRARY_VERSION"
supportAnnotations = "com.android.support:support-annotations:$SUPPORT_LIBRARY_VERSION"
// Dagger dependencies.
dagger = "com.google.dagger:dagger:$DAGGER_VERSION"
daggerCompiler = "com.google.dagger:dagger-compiler:$DAGGER_VERSION"
// Third-party dependencies.
sqlBrite = 'com.squareup.sqlbrite:sqlbrite:1.1.1'
butterKnifeRuntime = "com.jakewharton:butterknife:$BUTTERKNIFE_VERSION"
butterKnifeCompiler = "com.jakewharton:butterknife-compiler:$BUTTERKNIFE_VERSION"
timber = 'com.jakewharton.timber:timber:4.3.1'
autoValue = 'com.google.auto.value:auto-value:1.3'
autoValueParcel = 'com.ryanharter.auto.value:auto-value-parcel:0.2.5'
rxJava = 'io.reactivex:rxjava:1.2.7'
rxAndroid = 'io.reactivex:rxandroid:1.2.1'
rxBinding = 'com.jakewharton.rxbinding:rxbinding:0.4.0'
}
task clean(type: Delete) {
delete rootProject.buildDir
}