From 58aa5991409b106299e9fcc6eae77cf0dd7f7da3 Mon Sep 17 00:00:00 2001 From: Motorro Date: Tue, 5 Dec 2023 16:18:52 +0100 Subject: [PATCH] Library updates --- build.gradle | 10 +++++----- composeview/build.gradle | 6 +++--- .../motorro/rxlcemodel/coroutines/LceUtilsKtTest.kt | 1 + .../kotlin/com/motorro/rxlcemodel/rx/LceUtilsKtTest.kt | 1 + 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 188e3c90..cc47002b 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.9.10' + ext.kotlin_version = '1.9.20' ext.dokka_version = '1.9.0' repositories { google() @@ -12,8 +12,8 @@ buildscript { } } dependencies { - classpath 'com.android.tools.build:gradle:8.1.1' - classpath 'androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3' + classpath 'com.android.tools.build:gradle:8.1.4' + classpath 'androidx.navigation:navigation-safe-args-gradle-plugin:2.7.5' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -74,8 +74,8 @@ allprojects { "mockative": "1.2.6", // Compose - "compose_compiler_version": "1.5.3", - "compose_ui_bom": "2023.08.00", + "compose_compiler_version": "1.5.5", + "compose_ui_bom": '2023.10.01', "compose_ui_activity_version": "1.4.0", "compose_viewmodel_version": '2.6.2', "compose_livedata_version": "1.2.0", diff --git a/composeview/build.gradle b/composeview/build.gradle index ea780f93..55b361c5 100644 --- a/composeview/build.gradle +++ b/composeview/build.gradle @@ -98,14 +98,14 @@ dependencies { api "androidx.lifecycle:lifecycle-viewmodel-compose:${commonLibVersions.compose_viewmodel_version}" debugImplementation "androidx.compose.ui:ui-test-manifest" - debugImplementation "androidx.compose.ui:ui-tooling:$commonLibVersions.compose_ui_version" + debugImplementation "androidx.compose.ui:ui-tooling:1.5.4" testImplementation "junit:junit:${commonLibVersions.junit}" testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version" testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:${commonLibVersions.mockito_kotlin}" testImplementation "androidx.test:core:1.5.0" - testImplementation "androidx.compose.ui:ui-test-junit4:${commonLibVersions.compose_ui_test_vi_version}" - testImplementation 'org.robolectric:robolectric:4.10.3' + testImplementation "androidx.compose.ui:ui-test-junit4:1.5.4" + testImplementation 'org.robolectric:robolectric:4.11.1' } dokkaJavadoc.configure { diff --git a/coroutines/src/commonTest/kotlin/com/motorro/rxlcemodel/coroutines/LceUtilsKtTest.kt b/coroutines/src/commonTest/kotlin/com/motorro/rxlcemodel/coroutines/LceUtilsKtTest.kt index db93622a..33e77bc9 100644 --- a/coroutines/src/commonTest/kotlin/com/motorro/rxlcemodel/coroutines/LceUtilsKtTest.kt +++ b/coroutines/src/commonTest/kotlin/com/motorro/rxlcemodel/coroutines/LceUtilsKtTest.kt @@ -304,6 +304,7 @@ class LceUtilsKtTest { } @Test + @Suppress("UNUSED_PARAMETER") fun catchesMapperErrorInFlowMapper() = runTest { val error = Exception("error") diff --git a/rx/src/test/kotlin/com/motorro/rxlcemodel/rx/LceUtilsKtTest.kt b/rx/src/test/kotlin/com/motorro/rxlcemodel/rx/LceUtilsKtTest.kt index 4499c48f..62cdeb66 100644 --- a/rx/src/test/kotlin/com/motorro/rxlcemodel/rx/LceUtilsKtTest.kt +++ b/rx/src/test/kotlin/com/motorro/rxlcemodel/rx/LceUtilsKtTest.kt @@ -260,6 +260,7 @@ class LceUtilsKtTest { } @Test + @Suppress("UNUSED_PARAMETER") fun catchesMapperErrorInFlowMapper() { val error = Exception("error")