build(deps): update everything from androidx

This commit is contained in:
junkfood 2024-05-31 03:45:41 +08:00
parent de9986c2e7
commit 66e38c4c32
No known key found for this signature in database
GPG Key ID: 2EA5B648DB112A34
3 changed files with 15 additions and 14 deletions

View File

@ -166,7 +166,7 @@ dependencies {
implementation "androidx.paging:paging-compose:$paging"
// https://developer.android.com/jetpack/androidx/releases/paging
implementation "androidx.browser:browser:1.5.0"
implementation "androidx.browser:browser:1.8.0"
// https://developer.android.com/jetpack/androidx/releases/navigation
implementation "androidx.navigation:navigation-compose:$navigation"
@ -176,7 +176,7 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle"
// https://developer.android.com/jetpack/androidx/releases/compose-material3
implementation "androidx.compose.material3:material3:$material3"
implementation "androidx.compose.material3:material3"
// https://github.com/google/accompanist/releases
implementation "com.google.accompanist:accompanist-pager:$accompanist"
@ -209,9 +209,9 @@ dependencies {
implementation "androidx.hilt:hilt-navigation-compose:1.1.0"
// android
implementation "androidx.core:core-ktx:1.12.0"
implementation "androidx.activity:activity-compose:1.8.2"
implementation 'androidx.appcompat:appcompat:1.7.0-alpha03'
implementation "androidx.core:core-ktx:1.13.1"
implementation "androidx.activity:activity-compose:1.9.0"
implementation 'androidx.appcompat:appcompat:1.7.0'
testImplementation "junit:junit:4.13.2"
androidTestImplementation "androidx.test.ext:junit:1.1.5"
androidTestImplementation "androidx.test.espresso:espresso-core:3.5.1"

View File

@ -117,7 +117,8 @@ class AndroidApp : Application(), Configuration.Provider {
/**
* Override the [Configuration.Builder] to provide the [HiltWorkerFactory].
*/
override fun getWorkManagerConfiguration(): Configuration =
override val workManagerConfiguration: Configuration
get() =
Configuration.Builder()
.setWorkerFactory(workerFactory)
.setMinimumLoggingLevel(android.util.Log.DEBUG)

View File

@ -3,25 +3,25 @@ buildscript {
// https://developer.android.com/jetpack/androidx/releases/compose-ui
// compose = '1.2.0-beta02'
// https://developer.android.com/jetpack/compose/bom
composeBom = '2024.01.00'
composeBom = '2024.05.00'
// https://github.com/google/accompanist/releases
accompanist = '0.34.0'
// https://developer.android.com/jetpack/androidx/releases/compose-material3
material3 = '1.2.0-rc01'
// material3 = '1.2.0-rc01'
// https://developer.android.com/jetpack/androidx/releases/lifecycle
lifecycle = '2.6.2'
lifecycle = '2.8.1'
// https://developer.android.com/jetpack/androidx/releases/navigation
navigation = '2.5.0-rc01'
navigation = '2.7.7'
// https://developer.android.com/jetpack/androidx/releases/paging
paging = '3.2.1'
paging = '3.3.0'
// https://developer.android.com/jetpack/androidx/releases/room
room = '2.6.1'
// https://developer.android.com/jetpack/androidx/releases/datastore
datastore = '1.0.0'
datastore = '1.1.1'
// https://developer.android.com/jetpack/androidx/releases/work
work = '2.8.0-alpha02'
work = '2.9.0'
// https://developer.android.com/jetpack/androidx/releases/profileinstaller
profileinstaller = '1.2.0-beta02'
profileinstaller = '1.3.1'
// https://square.github.io/okhttp/changelogs/changelog/
okhttp = '5.0.0-alpha.12'
retrofit2 = '2.9.0'