-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdependencies.gradle
More file actions
131 lines (107 loc) · 4.57 KB
/
Copy pathdependencies.gradle
File metadata and controls
131 lines (107 loc) · 4.57 KB
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
123
124
125
126
127
128
129
130
131
ext.min_sdk = 21
ext.target_sdk = 30
ext.build_tools = '30.0.1'
ext.deps = [:]
def deps = [:]
def build_tool = '4.1.3'
def android = [:]
android.build_tool = "com.android.tools.build:gradle:$build_tool"
deps.android = android
def core_version = '1.3.2'
def appcompat_version = '1.2.0'
def constraint_layout_version = '2.0.4'
def test_version = '2.1.0'
def androidx_test_version = '1.4.0'
def androidx = [:]
androidx.core = "androidx.core:core-ktx:$core_version"
androidx.appcompat = "androidx.appcompat:appcompat:$appcompat_version"
androidx.constraint_layout = "androidx.constraintlayout:constraintlayout:$constraint_layout_version"
androidx.test = "androidx.arch.core:core-testing:$test_version"
androidx.test_rules = "androidx.test:rules:$androidx_test_version"
androidx.test_runner = "androidx.test:runner:$androidx_test_version"
androidx.test_core_ktx = "androidx.test:core-ktx:$androidx_test_version"
deps.androidx = androidx
def kotlin_version = '1.4.30'
def kotlin = [:]
kotlin.stdlib = "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
kotlin.plugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
deps.kotlin = kotlin
def junit_version = '4.13.2'
def junit_ktx_version = '1.1.3'
def junit = [:]
junit.junit = "junit:junit:$junit_version"
junit.junit_ktx = "androidx.test.ext:junit-ktx:$junit_ktx_version"
deps.junit = junit
def material_version = '1.2.1'
def material = "com.google.android.material:material:$material_version"
deps.material = material
def navigation_version = '2.3.2'
def navigation = [:]
navigation.fragment = "androidx.navigation:navigation-fragment-ktx:$navigation_version"
navigation.ui = "androidx.navigation:navigation-ui-ktx:$navigation_version"
navigation.testing = "androidx.navigation:navigation-testing:$navigation_version"
navigation.safe_args = "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
deps.navigation = navigation
def coroutines_version = '1.4.3'
def coroutines = [:]
coroutines.core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
coroutines.android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
coroutines.test = "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
deps.coroutines = coroutines
def leak_canary_version = '2.6'
def leak_canary = "com.squareup.leakcanary:leakcanary-android:$leak_canary_version"
deps.leak_canary = leak_canary
def retrofit_version = '2.9.0'
def moshi_kotlin_version = '1.11.0'
def retrofit = [:]
retrofit.retrofit = "com.squareup.retrofit2:retrofit:$retrofit_version"
retrofit.moshi = "com.squareup.retrofit2:converter-moshi:$retrofit_version"
retrofit.moshi_ktx = "com.squareup.moshi:moshi-kotlin:$moshi_kotlin_version"
deps.retrofit = retrofit
def okhttp_logging_interceptor_version = '4.9.0'
def okhttp_logging = "com.squareup.okhttp3:logging-interceptor:$okhttp_logging_interceptor_version"
deps.okhttp_logging = okhttp_logging
def hilt_version = '2.32-alpha'
def hilt = [:]
hilt.plugin = "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
hilt.android = "com.google.dagger:hilt-android:$hilt_version"
hilt.google_compiler = "com.google.dagger:hilt-android-compiler:$hilt_version"
hilt.google_testing = "com.google.dagger:hilt-android-testing:$hilt_version"
hilt.viewmodel = "androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03"
hilt.androidx_compiler = "androidx.hilt:hilt-compiler:1.0.0-beta01"
deps.hilt = hilt
def coil_version = '1.1.0'
def coil = "io.coil-kt:coil:$coil_version"
deps.coil = coil
def lottie_version = '3.6.1'
def lottie = "com.airbnb.android:lottie:$lottie_version"
deps.lottie = lottie
def mockk_version = '1.9.3'
def mockk = "io.mockk:mockk:$mockk_version"
deps.mockk = mockk
def turbine_version = '0.4.1'
def turbine = "app.cash.turbine:turbine:$turbine_version"
deps.turbine = turbine
def paging_version = '3.0.0-beta03'
def paging = "androidx.paging:paging-runtime-ktx:$paging_version"
deps.paging = paging
def timber_version = '4.7.1'
def timber = "com.jakewharton.timber:timber:$timber_version"
deps.timber = timber
def truth_version = '1.1.2'
def truth = "com.google.truth:truth:$truth_version"
deps.truth = truth
def espresso_core = '3.4.0'
def espresso = "androidx.test.espresso:espresso-core:$espresso_core"
deps.espresso = espresso
def androidx_fragment_version = '1.3.6'
def fragment = [:]
fragment.ktx = "androidx.fragment:fragment-ktx:$androidx_fragment_version"
fragment.testing = "androidx.fragment:fragment-testing:$androidx_fragment_version"
deps.fragment = fragment
ext.deps = deps
static def addRepos(RepositoryHandler handler) {
handler.google()
handler.jcenter()
}
ext.addRepos = this.&addRepos