@@ -153,39 +153,6 @@ dependencies {
153
153
implementation(" org.jetbrains.kotlin:kotlin-reflect:1.7.20" )
154
154
implementation(" androidx.multidex:multidex:2.0.1" )
155
155
156
- // compose
157
- // https://developer.android.com/jetpack/compose/interop/adding
158
- // https://developer.android.com/jetpack/compose/setup
159
- val composeBom = platform(" androidx.compose:compose-bom:2022.10.00" )
160
- implementation(composeBom)
161
- androidTestImplementation(composeBom)
162
- // Android Studio Preview support
163
- implementation(" androidx.compose.ui:ui-tooling-preview" )
164
- debugImplementation(" androidx.compose.ui:ui-tooling" )
165
- // Animations
166
- implementation(" androidx.compose.animation:animation" )
167
- // Foundation (Border, Background, Box, Image, Scroll, shapes, animations, etc.)
168
- implementation(" androidx.compose.foundation:foundation" )
169
- // Material Design
170
- implementation(" androidx.compose.material3:material3" )
171
- // Optional - Included automatically by material, only add when you need
172
- // the icons but not the material library (e.g. when using Material3 or a
173
- // custom design system based on Foundation)
174
- implementation(" androidx.compose.material:material-icons-core" )
175
- // Optional - Add full set of material icons
176
- implementation(" androidx.compose.material:material-icons-extended" )
177
- // Optional - Add window size utils
178
- implementation(" androidx.compose.material3:material3-window-size-class" )
179
- // Optional - Integration with activities
180
- implementation(" androidx.activity:activity-compose:1.6.1" )
181
- // Optional - Integration with ViewModels
182
- implementation(" androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1" )
183
- // Optional - Integration with LiveData
184
- implementation(" androidx.compose.runtime:runtime-livedata" )
185
- // UI Tests
186
- androidTestImplementation(" androidx.compose.ui:ui-test-junit4" )
187
- debugImplementation(" androidx.compose.ui:ui-test-manifest" )
188
-
189
156
// List of KTX extensions
190
157
// https://developer.android.com/kotlin/ktx/extensions-list
191
158
implementation(" androidx.core:core-ktx:1.9.0" )
@@ -401,6 +368,61 @@ dependencies {
401
368
testImplementation(Libs.testCore)
402
369
testImplementation(Libs.archCore)
403
370
*/
371
+
372
+ // compose
373
+ // https://developer.android.com/jetpack/compose/interop/adding
374
+ // https://developer.android.com/jetpack/compose/setup
375
+ val composeBom = platform(" androidx.compose:compose-bom:2022.10.00" )
376
+ implementation(composeBom)
377
+ androidTestImplementation(composeBom)
378
+ // Android Studio Preview support
379
+ implementation(" androidx.compose.ui:ui-tooling-preview" )
380
+ debugImplementation(" androidx.compose.ui:ui-tooling" )
381
+ // Animations
382
+ implementation(" androidx.compose.animation:animation" )
383
+ // Foundation (Border, Background, Box, Image, Scroll, shapes, animations, etc.)
384
+ implementation(" androidx.compose.foundation:foundation" )
385
+ // or Material Design 2
386
+ implementation(" androidx.compose.material:material" )
387
+ // Material Design
388
+ implementation(" androidx.compose.material3:material3" )
389
+ // Constraint layout
390
+ implementation(" androidx.constraintlayout:constraintlayout-compose:1.0.1" )
391
+ // Optional - Included automatically by material, only add when you need
392
+ // the icons but not the material library (e.g. when using Material3 or a
393
+ // custom design system based on Foundation)
394
+ // implementation("androidx.compose.material:material-icons-core")
395
+ // Optional - Add full set of material icons
396
+ implementation(" androidx.compose.material:material-icons-extended" )
397
+ // Optional - Add window size utils
398
+ implementation(" androidx.compose.material3:material3-window-size-class" )
399
+ // Optional - Integration with activities
400
+ implementation(" androidx.activity:activity-compose:1.6.1" )
401
+ // Optional - Integration with ViewModels
402
+ implementation(" androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1" )
403
+ // Optional - Integration with LiveData
404
+ implementation(" androidx.compose.runtime:runtime-livedata" )
405
+ // UI Tests
406
+ androidTestImplementation(" androidx.compose.ui:ui-test-junit4" )
407
+ debugImplementation(" androidx.compose.ui:ui-test-manifest" )
408
+ // navigation
409
+ implementation(" androidx.navigation:navigation-compose:2.5.3" )
410
+ implementation(" androidx.hilt:hilt-navigation-compose:1.0.0" )
411
+ // https://github.com/skydoves/landscapist
412
+ implementation(" com.github.skydoves:landscapist-bom:2.1.0" )
413
+ implementation(" com.github.skydoves:landscapist-glide" )
414
+ implementation(" com.github.skydoves:landscapist-placeholder" )
415
+ // https://google.github.io/accompanist/
416
+ // https://github.com/google/accompanist
417
+ val accompanistVersion = " 0.28.0"
418
+ implementation(" com.google.accompanist:accompanist-systemuicontroller:$accompanistVersion " )
419
+ implementation(" com.google.accompanist:accompanist-pager:$accompanistVersion " )
420
+ implementation(" com.google.accompanist:accompanist-permissions:$accompanistVersion " )
421
+ implementation(" com.google.accompanist:accompanist-placeholder:$accompanistVersion " )
422
+ implementation(" com.google.accompanist:accompanist-navigation-animation:$accompanistVersion " )
423
+ implementation(" com.google.accompanist:accompanist-navigation-material:$accompanistVersion " )
424
+ implementation(" com.google.accompanist:accompanist-webview:$accompanistVersion " )
425
+ implementation(" com.google.accompanist:accompanist-adaptive:$accompanistVersion " )
404
426
}
405
427
406
428
kapt {
0 commit comments