diff --git a/apps/flipcash/app/build.gradle.kts b/apps/flipcash/app/build.gradle.kts index 60f10da4d..8123d0f51 100644 --- a/apps/flipcash/app/build.gradle.kts +++ b/apps/flipcash/app/build.gradle.kts @@ -136,7 +136,7 @@ bugsnag { composeCompiler { // Isolated Projects-safe root access (see AndroidLibraryComposeConventionPlugin). - stabilityConfigurationFile.set( + stabilityConfigurationFiles.add( isolated.rootProject.projectDirectory.file("compose_compiler_config.conf") ) } diff --git a/apps/flipcash/shared/onramp/coinbase/src/test/kotlin/com/flipcash/app/onramp/internal/CoinbaseOnRampEventHandlerTest.kt b/apps/flipcash/shared/onramp/coinbase/src/test/kotlin/com/flipcash/app/onramp/internal/CoinbaseOnRampEventHandlerTest.kt index 2ed1bd32e..96c7331c3 100644 --- a/apps/flipcash/shared/onramp/coinbase/src/test/kotlin/com/flipcash/app/onramp/internal/CoinbaseOnRampEventHandlerTest.kt +++ b/apps/flipcash/shared/onramp/coinbase/src/test/kotlin/com/flipcash/app/onramp/internal/CoinbaseOnRampEventHandlerTest.kt @@ -295,13 +295,13 @@ class CoinbaseOnRampWebErrorTest { @Test fun guestRegionMismatchIsNotNotifiable() { - val error = CoinbaseOnRampWebError.RegionNotSupported.RegionMismatch() + val error: CoinbaseOnRampWebError = CoinbaseOnRampWebError.RegionNotSupported.RegionMismatch() assertFalse(error is NotifiableError) } @Test fun paymentSheetTimeoutIsNotNotifiable() { - val error = CoinbaseOnRampWebError.PaymentSheetTimeout() + val error: CoinbaseOnRampWebError = CoinbaseOnRampWebError.PaymentSheetTimeout() assertFalse(error is NotifiableError) } } diff --git a/build-logic/convention/src/main/kotlin/AndroidLibraryComposeConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidLibraryComposeConventionPlugin.kt index d093322f9..d83836cd8 100644 --- a/build-logic/convention/src/main/kotlin/AndroidLibraryComposeConventionPlugin.kt +++ b/build-logic/convention/src/main/kotlin/AndroidLibraryComposeConventionPlugin.kt @@ -26,7 +26,7 @@ class AndroidLibraryComposeConventionPlugin : Plugin { // `rootProject.layout` reaches into another project's model, which // Isolated Projects forbids; `isolated.rootProject` is the blessed // read-only view that exposes the root project directory safely. - stabilityConfigurationFile.set( + stabilityConfigurationFiles.add( isolated.rootProject.projectDirectory.file("compose_compiler_config.conf") ) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9215f9cf0..df7253caa 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ android-minSdk = "29" android-targetSdk = "37" android-java = "21" -kotlin = "2.3.21" +kotlin = "2.4.10" ksp = "2.3.10" kotlinx-coroutines = "1.11.0" kotlinx-serialization = "1.11.0" @@ -41,7 +41,7 @@ compose-view-models = "2.11.0" compose-paging = "3.5.0" compose-webview = "2.0.3" compose-accompanist = "0.36.0" -compose-coil = "3.4.0" +compose-coil = "3.5.0" hilt = "2.59.2" hilt-jetpack = "1.4.0" diff --git a/services/opencode/src/test/kotlin/com/getcode/opencode/model/core/errors/SwapErrorTest.kt b/services/opencode/src/test/kotlin/com/getcode/opencode/model/core/errors/SwapErrorTest.kt index 76dcc5345..b67293688 100644 --- a/services/opencode/src/test/kotlin/com/getcode/opencode/model/core/errors/SwapErrorTest.kt +++ b/services/opencode/src/test/kotlin/com/getcode/opencode/model/core/errors/SwapErrorTest.kt @@ -128,13 +128,14 @@ class SwapErrorTest { @Test fun timeoutIsNotNotifiable() { - assertFalse(SwapError.Timeout() is NotifiableError) + val error: SwapError = SwapError.Timeout() + assertFalse(error is NotifiableError) } @Test fun terminalIsNotNotifiableAndCarriesState() { val error = SwapError.Terminal(SwapState.CANCELLED) - assertFalse(error is NotifiableError) + assertFalse((error as SwapError) is NotifiableError) assertEquals(SwapState.CANCELLED, error.state) }