Skip to content

Commit af153fe

Browse files
committed
Update the Android X libraries
1 parent 09712b7 commit af153fe

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

android_project_common.gradle

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* File: 'android_project_common.gradle'
33
* Location: https://raw.githubusercontent.com/yongce/AndroidLib/master/android_project_common.gradle
4-
* Version: 2020.03.12
4+
* Version: 2020.03.13
55
* All android projects can copy and include this file.
66
*/
77

@@ -39,22 +39,22 @@ ext {
3939
'kotlin' : "1.3.70",
4040
'kotlinCoroutine' : "1.3.4",
4141
'multidexLib' : "2.0.1",
42-
'androidxCore' : "1.1.0",
43-
'fragment' : "1.1.0",
42+
'androidxCore' : "1.2.0",
43+
'fragment' : "1.2.2",
4444
'preference' : "1.1.0",
4545
'palette' : "1.0.0",
4646
'recyclerView' : "1.1.0",
4747
'constraintLayout' : "1.1.3",
4848
'vectorDrawable' : "1.1.0",
4949
'lintLib' : "26.6.1",
5050
'archCore' : "2.1.0",
51-
'lifecycle' : "2.1.0",
52-
'room' : "2.2.2",
53-
'sqlite' : "2.0.1",
54-
'navigation' : "2.1.0",
55-
'paging' : "2.1.0",
56-
'work' : "2.2.0",
57-
'media2' : "1.0.1",
51+
'lifecycle' : "2.2.0",
52+
'room' : "2.2.4",
53+
'sqlite' : "2.1.0",
54+
'navigation' : "2.2.1",
55+
'paging' : "2.1.1",
56+
'work' : "2.3.3",
57+
'media2' : "1.0.3",
5858

5959
// test
6060
'testCore' : "1.2.0",
@@ -139,7 +139,7 @@ ext {
139139
'vectorDrawable' : "androidx.vectordrawable:vectordrawable:${versions.vectorDrawable}",
140140
'animatedVectorDrawable' : "androidx.vectordrawable:vectordrawable-animated:${versions.vectorDrawable}",
141141
'browser' : "androidx.browser:browser:1.0.0",
142-
'transition' : "androidx.transition:transition:1.2.0",
142+
'transition' : "androidx.transition:transition:1.3.1",
143143
// others
144144
'multidex' : "androidx.multidex:multidex:${versions.multidexLib}",
145145
'mediaSession' : "androidx.media2:media2-session:${versions.media2}",
@@ -159,16 +159,22 @@ ext {
159159
],
160160
'lifecycle': [
161161
'runtime' : "androidx.lifecycle:lifecycle-runtime:${versions.lifecycle}",
162+
'runtimeKtx' : "androidx.lifecycle:lifecycle-runtime-ktx:${versions.lifecycle}",
162163
'compiler' : "androidx.lifecycle:lifecycle-compiler:${versions.lifecycle}",
163164
'commonJava8' : "androidx.lifecycle:lifecycle-common-java8:${versions.lifecycle}",
164165
'extensions' : "androidx.lifecycle:lifecycle-extensions:${versions.lifecycle}",
165166
'reactiveStreams' : "androidx.lifecycle:lifecycle-reactivestreams:${versions.lifecycle}",
167+
'liveData' : "androidx.lifecycle:lifecycle-livedata:${versions.lifecycle}",
168+
'liveDataKtx' : "androidx.lifecycle:lifecycle-livedata-ktx:${versions.lifecycle}",
169+
'viewModel' : "androidx.lifecycle:lifecycle-viewmodel:${versions.lifecycle}",
170+
'viewModelKtx' : "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.lifecycle}",
166171
],
167172
'room': [
168173
'runtime' : "androidx.room:room-runtime:${versions.room}",
169174
'compiler' : "androidx.room:room-compiler:${versions.room}",
170175
'rxjava' : "androidx.room:room-rxjava2:${versions.room}",
171176
'testing' : "androidx.room:room-testing:${versions.room}",
177+
'ktx' : "androidx.room:room-ktx:${versions.room}",
172178
],
173179
'sqlite': [
174180
'sqlite' : "androidx.sqlite:sqlite:${versions.sqlite}",

0 commit comments

Comments
 (0)