Skip to content

Commit

Permalink
Update androidx-lifecycle to 2.8.1 to fix Compose beta dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaslogen committed Jun 3, 2024
1 parent b5af9b4 commit 9883794
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 11 deletions.
6 changes: 2 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@ coroutines = '1.8.1'
material = '1.12.0'
core-ktx = '1.13.1'
navigation = '2.7.7'
appcompat = '1.6.1'
appcompat = '1.7.0'
constraintlayout = '2.1.4'
binary-compatibility-validator = '0.14.0'
dokka = '1.9.20'
maven = '0.28.0'
# Compose
compose-bom = "2024.05.00" # https://developer.android.com/jetpack/compose/bom/bom-mapping
compose-compiler = '1.5.14'
# Compose integration with Activities
androidx-activity = '1.9.0'
# Compose integration with ViewModels
androidx-lifecycle = "2.8.0"
androidx-lifecycle = "2.8.1"
# Hilt
hilt = '2.51.1'
hilt-navigation-compose = '1.2.0'
Expand Down Expand Up @@ -48,7 +47,6 @@ androidx-activity-compose = { module = 'androidx.activity:activity-compose', ver
androidx-navigation-compose = { module = 'androidx.navigation:navigation-compose', version.ref = 'navigation' }

compose-bom = { module = 'androidx.compose:compose-bom', version.ref = 'compose-bom' }
compose-compiler = { module = 'androidx.compose.compiler:compiler', version.ref = 'compose-compiler' }
compose-foundation = { module = 'androidx.compose.foundation:foundation' }
compose-material = { module = 'androidx.compose.material:material' }
compose-runtime = { module = 'androidx.compose.runtime:runtime' }
Expand Down
2 changes: 0 additions & 2 deletions resaca/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.coroutines.android)

// Compose dependencies
implementation(libs.compose.compiler)
// Integration with ViewModels
implementation(libs.bundles.androidx.lifecycle.viewmodel)
}
Expand Down
2 changes: 0 additions & 2 deletions resacahilt/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.coroutines.android)

// Compose dependencies
implementation(libs.compose.compiler)
// Integration with ViewModels
implementation(libs.bundles.androidx.lifecycle.viewmodel)

Expand Down
2 changes: 0 additions & 2 deletions resacakoin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ dependencies {

implementation(libs.koin.android)

// Compose dependencies
implementation(libs.compose.compiler)
// Integration with ViewModels
implementation(libs.bundles.androidx.lifecycle.viewmodel)
}
Expand Down
1 change: 0 additions & 1 deletion sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ dependencies {
implementation(libs.androidx.navigation.compose)

// Compose dependencies
implementation(libs.compose.compiler)
implementation(platform(libs.compose.bom))
implementation(libs.compose.runtime)
implementation(libs.compose.ui)
Expand Down

0 comments on commit 9883794

Please sign in to comment.