mirror of
https://github.com/bitwarden/android.git
synced 2025-02-16 11:59:57 +03:00
Update various dependencies to latest versions (#426)
This commit is contained in:
parent
44afc44829
commit
3fd93b2589
2 changed files with 20 additions and 11 deletions
|
@ -10,9 +10,11 @@ import androidx.navigation.NavHostController
|
|||
import androidx.navigation.NavOptions
|
||||
import androidx.navigation.Navigator
|
||||
import androidx.navigation.NavigatorProvider
|
||||
import androidx.navigation.NavigatorState
|
||||
import androidx.navigation.compose.ComposeNavigator
|
||||
import io.mockk.every
|
||||
import io.mockk.mockk
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import org.junit.Assert.assertEquals
|
||||
|
||||
/**
|
||||
|
@ -40,6 +42,13 @@ class FakeNavHostController : NavHostController(context = mockk()) {
|
|||
init {
|
||||
navigatorProvider = TestNavigatorProvider()
|
||||
navigatorProvider.addNavigator(ComposeNavigator())
|
||||
|
||||
val state = mockk<NavigatorState>(relaxed = true) {
|
||||
every { backStack } returns MutableStateFlow(emptyList())
|
||||
}
|
||||
navigatorProvider.navigators.forEach { (_, navigator) ->
|
||||
navigator.onAttach(state)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,36 +9,36 @@ minSdk = "28"
|
|||
# Dependency Versions
|
||||
accompanist = "0.30.1"
|
||||
androidGradlePlugin = "8.2.0"
|
||||
androidxActivity = "1.8.0"
|
||||
androidxBrowser = "1.6.0"
|
||||
androidxActivity = "1.8.2"
|
||||
androidxBrowser = "1.7.0"
|
||||
androidxComposeBom = "2023.10.01"
|
||||
# TODO: Once the Material3 color scheme changes are no longer in alpha, we should remove this
|
||||
# individual dependency version and use the Compose BOM version (BIT-702).
|
||||
androidxComposeMaterial3 = "1.2.0-alpha12"
|
||||
androidxComposeMaterial3 = "1.2.0-beta01"
|
||||
androidxCore = "1.12.0"
|
||||
androidxHiltNavigationCompose = "1.1.0"
|
||||
androidxLifecycle = "2.6.2"
|
||||
androidxNavigation = "2.7.4"
|
||||
androidxRoom = "2.6.0"
|
||||
androidxNavigation = "2.7.6"
|
||||
androidxRoom = "2.6.1"
|
||||
androidxSplash = "1.1.0-alpha02"
|
||||
# Once the app and SDK reach a critical point of completeness we should begin fixing the version
|
||||
# here (BIT-311).
|
||||
bitwardenSdk = "0.3.1-20231219.150921-55"
|
||||
detekt = "1.23.1"
|
||||
firebaseBom = "32.5.0"
|
||||
firebaseBom = "32.7.0"
|
||||
glide = "1.0.0-beta01"
|
||||
hilt = "2.47"
|
||||
hilt = "2.48"
|
||||
junit5 = "5.8.2"
|
||||
jvmTarget = "1.8"
|
||||
kotlin = "1.9.10"
|
||||
kotlinCompilerExtensionVersion = "1.5.3"
|
||||
kotlin = "1.9.21"
|
||||
kotlinCompilerExtensionVersion = "1.5.7"
|
||||
kotlinxCollectionsImmutable = "0.3.6"
|
||||
kotlinxCoroutines = "1.7.3"
|
||||
kotlinxSerialization = "1.5.1"
|
||||
kotlinxKover = "0.7.3"
|
||||
ksp = "1.9.10-1.0.13"
|
||||
ksp = "1.9.21-1.0.16"
|
||||
mockk = "1.13.5"
|
||||
okhttp = "4.11.0"
|
||||
okhttp = "4.12.0"
|
||||
retrofit = "2.9.0"
|
||||
retrofitKotlinxSerialization = "1.0.0"
|
||||
roboelectric = "4.10.3"
|
||||
|
|
Loading…
Add table
Reference in a new issue