Skip to content

Commit

Permalink
Bump 0.5.x dependencies (#2183)
Browse files Browse the repository at this point in the history
  • Loading branch information
yschimke committed Apr 9, 2024
1 parent 4949b5e commit 8bd0801
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 18 deletions.
32 changes: 17 additions & 15 deletions gradle/libs.versions.toml
Expand Up @@ -3,12 +3,12 @@ accompanist = "0.34.0"
androidx-benchmark = "1.2.3"
androidx-complications-data = "1.2.1"
androidx-constraintlayout-compose = "1.0.1"
androidx-compose-material = "1.6.4"
androidx-compose-material = "1.6.5"
androidx-concurrent = "1.1.0"
androidx-datastore = "1.0.0"
androidx-health-services = "1.0.0-rc01"
androidx-health-services = "1.0.0-rc02"
androidx-hilt = "1.2.0"
androidx-media3 = "1.2.1"
androidx-media3 = "1.3.0"
androidx-test-espresso = "3.6.0-alpha03"
androidx-test-ext = "1.2.0-alpha03"
androidx-test-runner = "1.6.0-alpha06"
Expand All @@ -30,14 +30,14 @@ androidxtiles = "1.3.0"
annotation = "1.0.1"
app-cash-turbine = "1.1.0"
com-squareup-okhttp3 = "4.12.0"
com-squareup-retrofit2 = "2.10.0"
compose = "1.6.4"
com-squareup-retrofit2 = "2.11.0"
compose = "1.6.5"
compose-compiler = "1.5.6"
compose-material3 = "1.2.1"
composesnapshot = "-"
dependencyAnalysis = "1.30.0"
dependencyAnalysis = "1.31.0"
dokka = "1.9.20"
googledagger = "2.51"
googledagger = "2.51.1"
gradlePlugin = "8.2.2"
gradlePublishPlugin = "0.28.0"
io-coil-kt = "2.6.0"
Expand All @@ -49,16 +49,17 @@ ktlint = "0.50.0"
metalava = "0.3.5"
moshi = "1.15.1"
okio = "3.9.0"
#noinspection GradleDependency
org-robolectric = "4.11.1"
playServicesAuth = "21.0.0"
protobuf = "4.26.0"
protobuf = "4.26.1"
roborazzi = "1.11.0"
room = "2.6.1"
runtimeTracing = "1.0.0-beta01"
snapshot-android = "1.0.4"
spotless = "6.25.0"
truth = "1.4.2"
wearcompose = "1.3.0"
wearcompose = "1.3.1"
wearToolingPreview = "1.0.0"
appcompat = "1.6.1"
material = "1.11.0"
Expand Down Expand Up @@ -106,7 +107,7 @@ androidx-media3-session = { module = "androidx.media3:media3-session", version.r
androidx-media3-testutils = { module = "androidx.media3:media3-test-utils", version.ref = "androidx-media3" }
androidx-media3-testutils-robolectric = { module = "androidx.media3:media3-test-utils-robolectric", version.ref = "androidx-media3" }
androidx-media3-ui = { module = "androidx.media3:media3-ui", version.ref = "androidx-media3" }
androidx-mediarouter = "androidx.mediarouter:mediarouter:1.6.0"
androidx-mediarouter = "androidx.mediarouter:mediarouter:1.7.0"
androidx-metrics-performance = "androidx.metrics:metrics-performance:1.0.0-beta01"
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "androidxNavigation" }
androidx-navigation-testing = { module = "androidx.navigation:navigation-testing", version.ref = "androidxNavigation" }
Expand Down Expand Up @@ -140,7 +141,7 @@ coil-svg = { module = "io.coil-kt:coil-svg", version.ref = "io-coil-kt" }
com-squareup-okhttp3-logging-interceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "com-squareup-okhttp3" }
com-squareup-okhttp3-okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "com-squareup-okhttp3" }
com-squareup-okhttp3-mockwebserver = { module = "com.squareup.okhttp3:mockwebserver", version.ref = "com-squareup-okhttp3" }
compose-bom = "androidx.compose:compose-bom:2024.03.00"
compose-bom = "androidx.compose:compose-bom:2024.04.00"
compose-foundation-foundation = { module = "androidx.compose.foundation:foundation", version.ref = "androidx-compose-material" }
compose-foundation-foundation-layout = { module = "androidx.compose.foundation:foundation-layout", version.ref = "androidx-compose-material" }
compose-material-iconscore = { module = "androidx.compose.material:material-icons-core", version.ref = "androidx-compose-material" }
Expand Down Expand Up @@ -168,10 +169,10 @@ gradleMavenPublishPlugin = { module = "com.vanniktech:gradle-maven-publish-plugi
hilt-ext-compiler = { module = "androidx.hilt:hilt-compiler", version.ref = "androidx-hilt" }
hilt-ext-work = { module = "androidx.hilt:hilt-work", version.ref = "androidx-hilt" }
hilt-navigationcompose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "androidx-hilt" }
io-grpc-protobuf-lite = "io.grpc:grpc-protobuf-lite:1.62.2"
io-grpc-protobuf-lite = "io.grpc:grpc-protobuf-lite:1.63.0"
io-grpc-grpc-kotlin = "io.grpc:grpc-kotlin-stub:1.4.1"
io-grpc-grpc-android = "io.grpc:grpc-android:1.62.2"
io-grpc-grpc-binder = "io.grpc:grpc-binder:1.62.2"
io-grpc-grpc-android = "io.grpc:grpc-android:1.63.0"
io-grpc-grpc-binder = "io.grpc:grpc-binder:1.63.0"
google-generativeai = "com.google.ai.client.generativeai:generativeai:0.2.2"
junit = { module = "junit:junit", version.ref = "junit" }
kotlin-gradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
Expand All @@ -182,8 +183,9 @@ kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-c
kotlinx-coroutines-guava = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-guava", version.ref = "kotlinxCoroutine" }
kotlinx-coroutines-playservices = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-play-services", version.ref = "kotlinxCoroutine" }
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutine" }
lottie-compose = "com.airbnb.android:lottie-compose:6.3.0"
lottie-compose = "com.airbnb.android:lottie-compose:6.4.0"
metalavaGradle = { module = "me.tylerbwong.gradle.metalava:plugin", version.ref = "metalava" }
#noinspection GradleDependency
mikepenz-markdown = "com.mikepenz:multiplatform-markdown-renderer:0.12.0"
moshi = { module = "com.squareup.moshi:moshi", version.ref = "moshi" }
moshi-adapters = { module = "com.squareup.moshi:moshi-adapters", version.ref = "moshi" }
Expand Down
Expand Up @@ -83,7 +83,7 @@ class SystemAudioRepositoryTest {
}

assertThat(mediaRouter.selectedRoute.deviceType)
.isEqualTo(MediaRouter.RouteInfo.DEVICE_TYPE_BLUETOOTH)
.isEqualTo(MediaRouter.RouteInfo.DEVICE_TYPE_BLUETOOTH_A2DP)

SystemAudioRepository.fromContext(context).use { repository ->
val startingVolume = repository.volumeState.value.current
Expand Down
Expand Up @@ -325,7 +325,9 @@ class PlayerRepositoryImplTest {
assertThat(sut.latestPlaybackState.value.playbackState.playbackSpeed).isEqualTo(1f)
assertThat(sut.shuffleModeEnabled.value).isFalse()
assertThat(sut.player.value).isSameInstanceAs(player)
assertThat(sut.latestPlaybackState.value.playbackState.currentPosition).isEqualTo(500.milliseconds)
assertThat(sut.latestPlaybackState.value.playbackState.currentPosition).apply {
isAtLeast(500.milliseconds)
}
assertThat(sut.availableCommands.value).containsExactlyElementsIn(
listOf(Command.PlayPause, Command.SeekBack, Command.SeekForward, Command.SetShuffle),
)
Expand Down Expand Up @@ -460,7 +462,10 @@ class PlayerRepositoryImplTest {
// then
assertThat(sut.getMediaCount()).isEqualTo(1)
assertThat(sut.getMediaAt(0)).isEqualTo(media2)
assertThat(sut.latestPlaybackState.value.playbackState.playerState).isEqualTo(PlayerState.Stopped)
assertThat(sut.latestPlaybackState.value.playbackState.playerState).isAnyOf(
PlayerState.Stopped, // Media3 1.3.0
PlayerState.Loading, // Media3 1.2.1
)
assertThat(sut.currentMedia.value).isEqualTo(media2)
assertThat(sut.latestPlaybackState.value.playbackState.playbackSpeed).isEqualTo(1f)
assertThat(sut.shuffleModeEnabled.value).isFalse()
Expand Down

0 comments on commit 8bd0801

Please sign in to comment.