mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 15:17:05 +05:30
refactor(deps): switch Compose dependencies to BOM
This commit is contained in:
parent
42310a6a33
commit
80bfb34e5b
4 changed files with 14 additions and 11 deletions
|
@ -39,6 +39,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
implementation(platform(libs.androidx.compose.bom))
|
||||||
annotationProcessor(libs.androidx.hilt.compiler)
|
annotationProcessor(libs.androidx.hilt.compiler)
|
||||||
annotationProcessor(libs.dagger.hilt.compiler)
|
annotationProcessor(libs.dagger.hilt.compiler)
|
||||||
implementation(projects.api)
|
implementation(projects.api)
|
||||||
|
|
|
@ -9,6 +9,7 @@ plugins {
|
||||||
androidComponents { beforeVariants { it.enableUnitTest = false } }
|
androidComponents { beforeVariants { it.enableUnitTest = false } }
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
implementation(platform(libs.androidx.compose.bom))
|
||||||
api(libs.napier)
|
api(libs.napier)
|
||||||
implementation(projects.database)
|
implementation(projects.database)
|
||||||
implementation(projects.model)
|
implementation(projects.model)
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
accompanist = "0.26.5-rc"
|
accompanist = "0.26.5-rc"
|
||||||
agp = "8.0.0-alpha06"
|
agp = "8.0.0-alpha06"
|
||||||
coil = "2.2.2"
|
coil = "2.2.2"
|
||||||
|
# @keep used for kotlinCompilerExtensionVersion
|
||||||
composeCompiler = "1.3.2"
|
composeCompiler = "1.3.2"
|
||||||
composeUi = "1.4.0-alpha01"
|
|
||||||
coroutines = "1.6.4"
|
coroutines = "1.6.4"
|
||||||
dagger = "2.44"
|
dagger = "2.44"
|
||||||
hilt = "1.0.0"
|
hilt = "1.0.0"
|
||||||
|
@ -24,16 +24,16 @@ accompanist-sysuicontroller = { module = "com.google.accompanist:accompanist-sys
|
||||||
androidx-activity-compose = "androidx.activity:activity-compose:1.7.0-alpha02"
|
androidx-activity-compose = "androidx.activity:activity-compose:1.7.0-alpha02"
|
||||||
androidx-benchmark-macro-junit4 = "androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha06"
|
androidx-benchmark-macro-junit4 = "androidx.benchmark:benchmark-macro-junit4:1.2.0-alpha06"
|
||||||
androidx-browser = "androidx.browser:browser:1.5.0-alpha01"
|
androidx-browser = "androidx.browser:browser:1.5.0-alpha01"
|
||||||
androidx-compose-animation = "androidx.compose.animation:animation:1.4.0-alpha01"
|
androidx-compose-animation = { module = "androidx.compose.animation:animation" }
|
||||||
androidx-compose-compiler = { module = "androidx.compose.compiler:compiler", version.ref = "composeCompiler" }
|
androidx-compose-bom = "androidx.compose:compose-bom:2022.10.00"
|
||||||
androidx-compose-foundation = "androidx.compose.foundation:foundation:1.4.0-alpha01"
|
androidx-compose-foundation = { module = "androidx.compose.foundation:foundation" }
|
||||||
androidx-compose-material = "androidx.compose.material:material:1.4.0-alpha01"
|
androidx-compose-material = { module = "androidx.compose.material:material" }
|
||||||
androidx-compose-material3 = "androidx.compose.material3:material3:1.1.0-alpha01"
|
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
|
||||||
androidx-compose-runtime = "androidx.compose.runtime:runtime:1.4.0-alpha01"
|
androidx-compose-runtime = { module = "androidx.compose.runtime:runtime" }
|
||||||
androidx-compose-ui = { module = "androidx.compose.ui:ui", version.ref = "composeUi" }
|
androidx-compose-ui = { module = "androidx.compose.ui:ui" }
|
||||||
androidx-compose-ui-text = { module = "androidx.compose.ui:ui-text", version.ref = "composeUi" }
|
androidx-compose-ui-text = { module = "androidx.compose.ui:ui-text" }
|
||||||
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "composeUi" }
|
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
|
||||||
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "composeUi" }
|
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
||||||
androidx-core-splashscreen = "androidx.core:core-splashscreen:1.0.0"
|
androidx-core-splashscreen = "androidx.core:core-splashscreen:1.0.0"
|
||||||
androidx-hilt-compiler = { module = "androidx.hilt:hilt-compiler", version.ref = "hilt" }
|
androidx-hilt-compiler = { module = "androidx.hilt:hilt-compiler", version.ref = "hilt" }
|
||||||
androidx-hilt-work = { module = "androidx.hilt:hilt-work", version.ref = "hilt" }
|
androidx-hilt-work = { module = "androidx.hilt:hilt-work", version.ref = "hilt" }
|
||||||
|
|
|
@ -56,6 +56,7 @@ dependencyResolutionManagement {
|
||||||
includeGroup("androidx.benchmark")
|
includeGroup("androidx.benchmark")
|
||||||
includeGroup("androidx.browser")
|
includeGroup("androidx.browser")
|
||||||
includeGroup("androidx.collection")
|
includeGroup("androidx.collection")
|
||||||
|
includeGroup("androidx.compose")
|
||||||
includeGroup("androidx.compose.animation")
|
includeGroup("androidx.compose.animation")
|
||||||
includeGroup("androidx.compose.compiler")
|
includeGroup("androidx.compose.compiler")
|
||||||
includeGroup("androidx.compose.foundation")
|
includeGroup("androidx.compose.foundation")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue