@@ -9,14 +9,7 @@ allprojects {
99 configurations. all {
1010 resolutionStrategy {
1111 eachDependency { details ->
12- if (details. requested. group == ' com.android.support' ) {
13- if (details. requested. name == ' multidex'
14- || details. requested. name == ' multidex-instrumentation' ) {
15- details. useVersion versions. multidexLib
16- } else {
17- details. useVersion versions. supportLib
18- }
19- } else if (details. requested. group == ' androidx.arch.core' ) {
12+ if (details. requested. group == ' androidx.arch.core' ) {
2013 details. useVersion versions. archCore
2114 } else if (details. requested. group == ' androidx.lifecycle' ) {
2215 details. useVersion versions. lifecycle
@@ -38,25 +31,25 @@ ext {
3831 ' compileSdk' : 31 ,
3932
4033 // Android official support
41- ' kotlin' : ' 1.5.31 ' ,
34+ ' kotlin' : ' 1.6.10 ' ,
4235 ' kotlinCoroutine' : " 1.5.2" ,
4336 ' multidexLib' : " 2.0.1" ,
4437 ' androidxCore' : ' 1.7.0' ,
45- ' fragment' : ' 1.3.6 ' ,
46- ' preference' : " 1.1.1 " ,
38+ ' fragment' : ' 1.4.1 ' ,
39+ ' preference' : " 1.2.0 " ,
4740 ' palette' : " 1.0.0" ,
4841 ' recyclerView' : " 1.2.1" ,
49- ' constraintLayout' : " 2.1.1 " ,
42+ ' constraintLayout' : " 2.1.3 " ,
5043 ' vectorDrawable' : " 1.1.0" ,
5144 ' lintLib' : ' 30.0.2' ,
5245 ' archCore' : " 2.1.0" ,
53- ' lifecycle' : " 2.4.0 " ,
54- ' room' : ' 2.3.0 ' ,
55- ' sqlite' : " 2.1 .0" ,
56- ' navigation' : " 2.3.5 " ,
57- ' paging' : " 3.0.1 " ,
58- ' work' : " 2.7.0 " ,
59- ' media2' : " 1.2.0 " ,
46+ ' lifecycle' : " 2.4.1 " ,
47+ ' room' : ' 2.4.1 ' ,
48+ ' sqlite' : " 2.2 .0" ,
49+ ' navigation' : " 2.4.1 " ,
50+ ' paging' : " 3.1.0 " ,
51+ ' work' : " 2.7.1 " ,
52+ ' media2' : " 1.2.1 " ,
6053
6154 // test
6255 ' testCore' : " 1.4.0" ,
@@ -118,12 +111,12 @@ ext {
118111 ' coreKtx' : " androidx.core:core-ktx:${ versions.androidxCore} " ,
119112 ' fragment' : " androidx.fragment:fragment:${ versions.fragment} " ,
120113 ' fragmentKtx' : " androidx.fragment:fragment-ktx:${ versions.fragment} " ,
121- ' localBroadcast' : " androidx.localbroadcastmanager:localbroadcastmanager:1.0 .0" ,
122- ' collection' : " androidx.collection:collection:1.1 .0" ,
123- ' collectionKtx' : " androidx.collection:collection-ktx:1.1 .0" ,
114+ ' localBroadcast' : " androidx.localbroadcastmanager:localbroadcastmanager:1.1 .0" ,
115+ ' collection' : " androidx.collection:collection:1.2 .0" ,
116+ ' collectionKtx' : " androidx.collection:collection-ktx:1.2 .0" ,
124117 // UI
125- ' appcompat' : " androidx.appcompat:appcompat:1.3 .1" ,
126- ' material' : " com.google.android.material:material:1.4 .0" ,
118+ ' appcompat' : " androidx.appcompat:appcompat:1.4 .1" ,
119+ ' material' : " com.google.android.material:material:1.5 .0" ,
127120 ' preference' : " androidx.preference:preference:${ versions.preference} " ,
128121 ' preferenceKtx' : " androidx.preference:preference-ktx:${ versions.preference} " ,
129122 ' constraintLayout' : " androidx.constraintlayout:constraintlayout:${ versions.constraintLayout} " ,
@@ -134,7 +127,7 @@ ext {
134127 ' recyclerview' : " androidx.recyclerview:recyclerview:${ versions.recyclerView} " ,
135128 ' recyclerviewSelection' : " androidx.recyclerview:recyclerview:${ versions.recyclerView} " ,
136129 ' percent' : " androidx.percentlayout:percentlayout:1.0.0" ,
137- ' coordinatorLayout' : " androidx.coordinatorlayout:coordinatorlayout:1.1 .0" ,
130+ ' coordinatorLayout' : " androidx.coordinatorlayout:coordinatorlayout:1.2 .0" ,
138131 ' drawerLayout' : " androidx.drawerlayout:drawerlayout:1.1.1" ,
139132 ' swipeRefreshLayout' : " androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" ,
140133 ' viewPager' : " androidx.viewpager:viewpager:1.0.0" ,
@@ -147,7 +140,7 @@ ext {
147140 ' multidex' : " androidx.multidex:multidex:${ versions.multidexLib} " ,
148141 ' mediaSession' : " androidx.media2:media2-session:${ versions.media2} " ,
149142 ' mediaExoPlayer' : " androidx.media2:media2-exoplayer:${ versions.media2} " ,
150- ' mediarouter' : " androidx.mediarouter:mediarouter:1.2.5 " ,
143+ ' mediarouter' : " androidx.mediarouter:mediarouter:1.2.6 " ,
151144 ' exifinterface' : " androidx.exifinterface:exifinterface:1.3.3" ,
152145 ' wear' : " androidx.wear:wear:1.0.0" ,
153146 // legacy
0 commit comments