-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.gradle
111 lines (108 loc) · 5.79 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
104
105
106
107
108
109
110
111
/**
* Shared file between builds so that they can all use the same dependencies and
* maven repositories.
**/
ext.versions = [
android: [
compileSdk: 29,
buildTools: '29.0.3',
minSdk : 21,
targetSdk : 29
],
androidx: [
appcompat : '1.1.0',
browser : '1.2.0',
cardview : '1.0.0',
constraintlayout : '2.0.0-beta4',
core : '1.2.0',
fragment : '1.2.2',
lifecycle : '2.2.0',
navigation : '2.2.1',
paging : '2.1.1',
preference : '1.1.0',
percentlayout : '1.0.0',
room : '2.2.4',
recyclerview : '1.1.0',
swiperefreshlayout : '1.0.0'
],
google: [
material : '1.1.0',
places : '2.1.0'
],
kotlin : '1.3.61',
playservices : [
location : '17.0.0',
maps : '17.0.0',
mapsutils : '0.6.2'
],
test : [
runner : '1.1.1',
espresso : '3.2.0'
]
]
ext.deps = [
androidx : [
annotation : "androidx.annotation:annotation:${versions.androidx.annotation}",
appcompat : "androidx.appcompat:appcompat:${versions.androidx.appcompat}",
browser : "androidx.browser:browser:${versions.androidx.browser}",
cardview : "androidx.cardview:cardview:${versions.androidx.cardview}",
constraintlayout : "androidx.constraintlayout:constraintlayout:${versions.androidx.constraintlayout}",
core : "androidx.core:core:${versions.androidx.core}",
corektx : "androidx.core:core-ktx:${versions.androidx.core}",
fragment : "androidx.fragment:fragment-ktx:${versions.androidx.fragment}",
paging : [
runtime : "androidx.paging:paging-runtime-ktx:${versions.androidx.paging}"
],
percentlayout : "androidx.percentlayout:percentlayout:${versions.androidx.percentlayout}",
preference : "androidx.preference:preference-ktx:${versions.androidx.preference}",
recyclerview : "androidx.recyclerview:recyclerview:${versions.androidx.recyclerview}",
swiperefreshlayout : "androidx.swiperefreshlayout:swiperefreshlayout:${versions.androidx.swiperefreshlayout}",
],
google : [
material : "com.google.android.material:material:${versions.google.material}",
places : "com.google.android.libraries.places:places-compat:${versions.google.places}"
],
kotlin : [
stdlib : "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin",
test : "org.jetbrains.kotlin:kotlin-test-junit:$versions.kotlin",
plugin : "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin",
allopen : "org.jetbrains.kotlin:kotlin-allopen:$versions.kotlin",
coroutines : 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3'
],
lifecycle : [
common : "androidx.lifecycle:lifecycle-common-java8:${versions.androidx.lifecycle}",
compiler : "androidx.lifecycle:lifecycle-compiler:${versions.androidx.lifecycle}",
extensions : "androidx.lifecycle:lifecycle-extensions:${versions.androidx.lifecycle}",
livedata : "androidx.lifecycle:lifecycle-livedata-ktx:${versions.androidx.lifecycle}",
runtime : "androidx.lifecycle:lifecycle-runtime-ktx:${versions.androidx.lifecycle}",
viewmodel : "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.androidx.lifecycle}",
],
navigation : [
fragment : "androidx.navigation:navigation-fragment-ktx:${versions.androidx.navigation}",
safeArgs: [
plugin: "androidx.navigation:navigation-safe-args-gradle-plugin:${versions.androidx.navigation}"
],
ui : "androidx.navigation:navigation-ui-ktx:${versions.androidx.navigation}"
],
playservices : [
location : "com.google.android.gms:play-services-location:${versions.playservices.location}",
maps : "com.google.android.gms:play-services-maps:${versions.playservices.maps}",
mapsutils : "com.google.maps.android:android-maps-utils:${versions.playservices.mapsutils}"
],
room : [
common : "androidx.room:room-common:${versions.androidx.room}",
compiler : "androidx.room:room-compiler:${versions.androidx.room}",
coroutines : "androidx.room:room-coroutines:2.1.0-alpha04",
ktx : "androidx.room:room-ktx:${versions.androidx.room}",
migration : "androidx.room:room-migration:${versions.androidx.room}",
runtime : "androidx.room:room-runtime:${versions.androidx.room}",
testing : "androidx.room:room-testing:${versions.androidx.room}"
],
test : [
junit : 'junit:junit:4.12',
runner : "androidx.test:runner:${versions.test.runner}",
espresso : [
core : "androidx.test.espresso:espresso-core:${versions.test.espresso}"
]
]
]