This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
dependencies.gradle
95 lines (69 loc) · 3.17 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
ext.deps = [:]
def versions = [:]
versions.kotlin = "1.4.10"
versions.coroutines = "1.3.3"
versions.material = "1.1.0-beta01"
versions.lifecycle = "2.2.0-rc03"
versions.constraint_layout = "2.0.0-alpha3"
versions.navigation = "2.2.0"
versions.dagger = "2.25.4"
versions.dagger_assisted_inject = "0.5.2"
versions.room = "2.2.3"
versions.stetho = "1.5.0"
versions.timber = "4.7.1"
versions.leakcanary = "2.3"
def coroutines_version = "1.3.3"
def test_runner_version = '1.0.2'
def espresso_core_version = '3.0.2'
def junit_version = '4.12'
def mockito_core_version = '2.18.0'
def kotlin_mockito_version = '2.1.0'
def android_arch_core_testing_version = '2.0.1'
ext {
testDependencies = [
junit = "junit:junit:$junit_version",
mockito_core = "org.mockito:mockito-core:$mockito_core_version",
android_arch_core_testing = "androidx.arch.core:core-testing:$android_arch_core_testing_version",
kotlin_mockito = "com.nhaarman.mockitokotlin2:mockito-kotlin:$kotlin_mockito_version",
coroutines_test = "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
]
androidTestDependencies = [
test_runner = "com.android.support.test:runner:$test_runner_version",
espresso_core = "com.android.support.test.espresso:espresso-core:$espresso_core_version"
]
}
def kotlin = [:]
kotlin.stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin"
kotlin.coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$versions.coroutines"
kotlin.coroutines_android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$versions.coroutines"
deps.kotlin = kotlin
def lifecycle = [:]
lifecycle.view_model = "androidx.lifecycle:lifecycle-viewmodel-ktx:$versions.lifecycle"
lifecycle.extensions = "androidx.lifecycle:lifecycle-extensions:$versions.lifecycle"
deps.lifecycle = lifecycle
def material = [:]
material.material = "com.google.android.material:material:$versions.material"
deps.material = material
def constraint = [:]
constraint.constraint = "androidx.constraintlayout:constraintlayout:$versions.constraint_layout"
deps.constraint = constraint
def navigation = [:]
navigation.fragment = "androidx.navigation:navigation-fragment-ktx:$versions.navigation"
navigation.ui = "androidx.navigation:navigation-ui-ktx:$versions.navigation"
deps.navigation = navigation
def dagger = [:]
dagger.dagger = "com.google.dagger:dagger:$versions.dagger"
dagger.processor = "com.google.dagger:dagger-compiler:$versions.dagger"
dagger.assisted_inject = "com.squareup.inject:assisted-inject-annotations-dagger2:$versions.dagger_assisted_inject"
dagger.assisted_inject_processor = "com.squareup.inject:assisted-inject-processor-dagger2:$versions.dagger_assisted_inject"
deps.dagger = dagger
def room = [:]
room.room = "androidx.room:room-runtime:$versions.room"
room.processor = "androidx.room:room-compiler:$versions.room"
room.coroutines = "androidx.room:room-ktx:$versions.room"
deps.room = room
def tools = [:]
tools.timber = "com.jakewharton.timber:timber:$versions.timber"
tools.stetho = "com.facebook.stetho:stetho:$versions.stetho"
tools.leakcanary = "com.squareup.leakcanary:leakcanary-android:$versions.leakcanary"
deps.tools = tools