@@ -5,7 +5,7 @@ version = C.PROJECT_VERSION
5
5
6
6
catalog {
7
7
versionCatalog {
8
- with (V . AndroidX ) {
8
+ with (AndroidX ) {
9
9
version(" activity" , activity)
10
10
version(" appcompat" , appcompat)
11
11
version(" autofill" , autofill)
@@ -21,12 +21,17 @@ catalog {
21
21
version(" navigation" , navigation)
22
22
version(" paging" , paging)
23
23
version(" preference" , preference)
24
- version(" recycler" , recycler)
24
+ version(" recyclerview" , recyclerview)
25
+ version(" recyclerview-selection" , recyclerviewSelection)
25
26
version(" room" , room)
26
27
version(" swiperefresh" , swiperefresh)
27
28
version(" work" , work)
29
+ version(" camerax" , camerax)
30
+ version(" navigation" , navigation)
28
31
}
29
32
33
+ plugin(" navigation-safeArgs" , " androidx.navigation.safeargs.kotlin" ).versionRef(" navigation" )
34
+
30
35
library(" activity" , " androidx.activity" , " activity-ktx" ).versionRef(" activity" )
31
36
32
37
library(" appcompat" , " androidx.appcompat" , " appcompat" ).versionRef(" appcompat" )
@@ -38,7 +43,7 @@ catalog {
38
43
library(" core" , " androidx.core" , " core-ktx" ).versionRef(" core" )
39
44
40
45
library(" datastore" , " androidx.datastore" , " datastore" ).versionRef(" datastore" )
41
- library(" datastorePreferences " , " androidx.datastore" , " datastore-preferences" ).versionRef(" datastore" )
46
+ library(" datastore-preferences " , " androidx.datastore" , " datastore-preferences" ).versionRef(" datastore" )
42
47
43
48
library(" exifinterface" , " androidx.exifinterface" , " exifinterface" ).versionRef(" exif" )
44
49
@@ -47,16 +52,16 @@ catalog {
47
52
library(" hilt-common" , " androidx.hilt" , " hilt-common" ).versionRef(" hilt" )
48
53
library(" hilt-compiler" , " androidx.hilt" , " hilt-compiler" ).versionRef(" hilt" )
49
54
library(" hilt-navigation" , " androidx.hilt" , " hilt-navigation" ).versionRef(" hilt" )
50
- library(" hilt-navigationFragment " , " androidx.hilt" , " hilt-navigation-fragment" ).versionRef(" hilt" )
55
+ library(" hilt-navigation-fragment " , " androidx.hilt" , " hilt-navigation-fragment" ).versionRef(" hilt" )
51
56
library(" hilt-work" , " androidx.hilt" , " hilt-work" ).versionRef(" hilt" )
52
57
58
+ library(" lifecycle-common-java8" , " androidx.lifecycle" , " lifecycle-common-java8" ).versionRef(" lifecycle" )
53
59
library(" lifecycle-viewmodel" , " androidx.lifecycle" , " lifecycle-viewmodel-ktx" ).versionRef(" lifecycle" )
54
60
library(" lifecycle-livedata" , " androidx.lifecycle" , " lifecycle-livedata-ktx" ).versionRef(" lifecycle" )
55
61
library(" lifecycle-runtime" , " androidx.lifecycle" , " lifecycle-runtime-ktx" ).versionRef(" lifecycle" )
56
- library(" lifecycle-common-java8" , " androidx.lifecycle" , " lifecycle-common-java8" ).versionRef(" lifecycle" )
57
62
library(" lifecycle-process" , " androidx.lifecycle" , " lifecycle-process" ).versionRef(" lifecycle" )
58
63
library(" lifecycle-service" , " androidx.lifecycle" , " lifecycle-service" ).versionRef(" lifecycle" )
59
- library(" lifecycle-viewmodelSavedState " , " androidx.lifecycle" , " lifecycle-viewmodel-savedstate" ).versionRef(" lifecycle" )
64
+ library(" lifecycle-viewmodel-savedstate " , " androidx.lifecycle" , " lifecycle-viewmodel-savedstate" ).versionRef(" lifecycle" )
60
65
61
66
library(" navigation-common" , " androidx.navigation" , " navigation-common" ).versionRef(" navigation" )
62
67
library(" navigation-fragment" , " androidx.navigation" , " navigation-fragment-ktx" ).versionRef(" navigation" )
@@ -65,17 +70,25 @@ catalog {
65
70
library(" paging-runtime" , " androidx.paging" , " paging-runtime-ktx" ).versionRef(" paging" )
66
71
67
72
library(" preference" , " androidx.preference" , " preference-ktx" ).versionRef(" preference" )
68
- library(" recyclerview" , " androidx.recyclerview" , " recyclerview" ).versionRef(" recycler" )
73
+ library(" recyclerview" , " androidx.recyclerview" , " recyclerview" ).versionRef(" recyclerview" )
74
+ library(" recyclerview-selection" , " androidx.recyclerview" , " recyclerview-selection" ).versionRef(" recyclerview-selection" )
69
75
70
- library(" roomRuntime" , " androidx.room" , " room-runtime" ).versionRef(" room" )
71
- library(" roomCompiler" , " androidx.room" , " room-compiler" ).versionRef(" room" )
72
- library(" roomPaging" , " androidx.room" , " room-paging" ).versionRef(" room" )
73
76
library(" room" , " androidx.room" , " room-ktx" ).versionRef(" room" )
77
+ library(" room-compiler" , " androidx.room" , " room-compiler" ).versionRef(" room" )
78
+ library(" room-paging" , " androidx.room" , " room-paging" ).versionRef(" room" )
79
+ library(" room-runtime" , " androidx.room" , " room-runtime" ).versionRef(" room" )
74
80
75
81
library(" swiperefreshlayout" , " androidx.swiperefreshlayout" , " swiperefreshlayout" ).versionRef(" swiperefresh" )
76
82
77
83
library(" work-runtime" , " androidx.work" , " work-runtime-ktx" ).versionRef(" work" )
78
84
85
+ library(" camera-core" , " androidx.camera" , " camera-core" ).versionRef(" camerax" )
86
+ library(" camera-camera2" , " androidx.camera" , " camera-camera2" ).versionRef(" camerax" )
87
+ library(" camera-extensions" , " androidx.camera" , " camera-extensions" ).versionRef(" camerax" )
88
+ library(" camera-lifecycle" , " androidx.camera" , " camera-lifecycle" ).versionRef(" camerax" )
89
+ library(" camera-view" , " androidx.camera" , " camera-view" ).versionRef(" camerax" )
90
+ library(" camera-video" , " androidx.camera" , " camera-video" ).versionRef(" camerax" )
91
+
79
92
bundle(
80
93
" base" ,
81
94
listOf (
@@ -97,7 +110,7 @@ catalog {
97
110
" lifecycle-runtime" ,
98
111
" lifecycle-common-java8" ,
99
112
" lifecycle-process" ,
100
- " lifecycle-viewmodelSavedState "
113
+ " lifecycle-viewmodel-savedstate "
101
114
)
102
115
)
103
116
bundle(
@@ -107,5 +120,14 @@ catalog {
107
120
" navigation-ui" ,
108
121
)
109
122
)
123
+ bundle(
124
+ " camerax" ,
125
+ listOf (
126
+ " camera-core" ,
127
+ " camera-camera2" ,
128
+ " camera-extensions" ,
129
+ " camera-lifecycle" ,
130
+ )
131
+ )
110
132
}
111
133
}
0 commit comments