forked from uber/okbuck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.gradle
103 lines (94 loc) · 4.85 KB
/
dependencies.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
def versions = [
androidPlugin : "3.2.0-beta01",
androidTools : "26.1.2",
butterKnife : "9.0.0-20180416.155017-37",
butterKnifeCompiler: "9.0.0-20180416.155025-37",
butterKnifePlugin : "9.0.0-20180416.155029-37",
dagger : "2.15",
kotlin : "1.2.50",
leakCanary : "1.5.4",
rocker : "0.23.0",
support : "27.1.0",
]
def build = [
androidPlugin : "com.android.tools.build:gradle:${versions.androidPlugin}",
androidPluginApi : "com.android.tools.build:gradle-api:${versions.androidPlugin}",
bintrayPlugin : "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.2",
butterKnifePlugin: "com.jakewharton:butterknife-gradle-plugin:${versions.butterKnifePlugin}",
commonsIo : "commons-io:commons-io:2.5",
commonsLang3 : "org.apache.commons:commons-lang3:3.7",
kotlinPlugin : "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
kotlinAllOpen : "org.jetbrains.kotlin:kotlin-allopen:${versions.kotlin}",
rockerPlugin : "gradle.plugin.com.fizzed:rocker-gradle-plugin:${versions.rocker}",
rockerRuntime : "com.fizzed:rocker-runtime:${versions.rocker}",
shadowJar : "com.github.jengelman.gradle.plugins:shadow:2.0.1",
sqlDelightPlugin : "com.squareup.sqldelight:gradle-plugin:0.7.0",
]
def buildConfig = [
buildTools: "27.0.3",
compileSdk: 27,
minSdk : 16,
targetSdk : 27,
]
def apt = [
autoValue : "com.google.auto.value:auto-value:1.6",
autoValueAnnotations : "com.google.auto.value:auto-value-annotations:1.6",
autoValueGson : "com.ryanharter.auto.value:auto-value-gson:0.7.0",
butterKnifeCompiler : "com.jakewharton:butterknife-compiler:${versions.butterKnifeCompiler}",
daggerCompiler : "com.google.dagger:dagger-compiler:${versions.dagger}",
daggerAndroidProcessor: "com.google.dagger:dagger-android-processor:${versions.dagger}",
javax : "org.glassfish:javax.annotation:10.0-b28",
]
def external = [
butterKnife : "com.jakewharton:butterknife:${versions.butterKnife}",
dagger : "com.google.dagger:dagger:${versions.dagger}",
daggerAndroid : "com.google.dagger:dagger-android-support:${versions.dagger}",
gson : "com.google.code.gson:gson:2.8.2",
kotlinExtension: "org.jetbrains.kotlin:kotlin-android-extensions:${versions.kotlin}",
kotlinStdlib : "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}",
leakCanary : "com.squareup.leakcanary:leakcanary-android:${versions.leakCanary}",
rxandroid : "io.reactivex.rxjava2:rxandroid:2.0.2",
rxjava : "io.reactivex.rxjava2:rxjava:2.1.12",
rxPermissions : "com.tbruyelle.rxpermissions2:rxpermissions:0.9.4",
sqlite : "com.pushtorefresh.storio3:sqlite:3.0.0",
xlogAndroidIdle: "com.github.promeg:xlog-android-idle:2.1.1",
avroIpc : "org.apache.avro:avro-ipc:1.7.7",
avroIpcTests : "org.apache.avro:avro-ipc:1.7.7:tests",
]
def lint = [
lint : "com.android.tools.lint:lint:${versions.androidTools}",
lintApi : "com.android.tools.lint:lint-api:${versions.androidTools}",
lintChecks: "com.android.tools.lint:lint-checks:${versions.androidTools}",
lintTests : "com.android.tools.lint:lint-tests:${versions.androidTools}",
]
def support = [
annotations : "com.android.support:support-annotations:${versions.support}",
appCompat : "com.android.support:appcompat-v7:${versions.support}",
design : "com.android.support:design:${versions.support}",
recyclerView : "com.android.support:recyclerview-v7:${versions.support}",
v4 : "com.android.support:support-v4:${versions.support}",
multidex : "com.android.support:multidex:1.0.3",
constraintLayout: "com.android.support.constraint:constraint-layout:1.0.2",
]
def test = [
assertj : "org.assertj:assertj-core:3.9.1",
espressoCore : "com.android.support.test.espresso:espresso-core:3.0.1",
espressoRules : "com.android.support.test:rules:1.0.1",
espressoRunner: "com.android.support.test:runner:1.0.1",
junit : "junit:junit:4.12",
kotlinTest : "org.jetbrains.kotlin:kotlin-test-junit:${versions.kotlin}",
mockito : "org.mockito:mockito-core:2.15.0",
robolectric : "org.robolectric:robolectric:3.8",
]
ext.config = [
"build": buildConfig,
]
ext.deps = [
"apt" : apt,
"build" : build,
"external": external,
"lint" : lint,
"support" : support,
"test" : test,
"versions": versions
]