-
Notifications
You must be signed in to change notification settings - Fork 1
/
versions.gradle
48 lines (41 loc) · 1.8 KB
/
versions.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
def kotlin_version = '1.4.30'
ext.versions = [
kotlin : "$kotlin_version",
kotlin_jdk8 : "jdk8-$kotlin_version",
android_gradle_plugin : "4.1.0",
shot : "4.4.0",
koin : "2.2.2",
lifecycle : "2.3.0",
lifecycle_extensions : "2.2.0",
espresso : '3.2.0',
]
def deps = [:]
deps.android_gradle_plugin = "com.android.tools.build:gradle:$versions.android_gradle_plugin"
deps.shot = "com.karumi:shot:$versions.shot"
def kotlin = [
plugin : "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin",
stdlib : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin",
test : "org.jetbrains.kotlin:kotlin-test-junit:$versions.kotlin"
]
deps.kotlin = kotlin
def lifecycle = [
runtime : "androidx.lifecycle:lifecycle-runtime-ktx:$versions.lifecycle",
livedata_ktx : "androidx.lifecycle:lifecycle-livedata-ktx:$versions.lifecycle",
extensions : "androidx.lifecycle:lifecycle-extensions:$versions.lifecycle_extensions",
viewmodel_ktx : "androidx.lifecycle:lifecycle-viewmodel-ktx:$versions.lifecycle"
]
deps.lifecycle = lifecycle
def koin = [
koin_android : "org.koin:koin-android:$versions.koin",
koin_viewmodel : "org.koin:koin-androidx-viewmodel:$versions.koin"
]
deps.koin = koin
deps.koin_test = "org.koin:koin-test:$versions.koin"
def espresso = [
core : "androidx.test.espresso:espresso-core:$versions.espresso",
intents : "androidx.test.espresso:espresso-intents:$versions.espresso",
contrib : "androidx.test.espresso:espresso-contrib:$versions.espresso"
]
deps.espresso = espresso
ext.deps = [:]
ext.deps = deps