Koin 4.0.0-RC1 contains a commit upgrading to compose-navigation 2.8.0-alpha08 - This change results in koin depending on compose 2.7.0-alpha01.
Based on other version definitions in the toml I believe the project means to still depend on compose 1.6.11 instead for the 4.0.0 release.
Unfortunately, using compose-navigation 2.8.0-alpha08 forces the project to Compsoe 1.7.0
While compose-navigation 2.7.0-alpha07 would use compose 1.6.11
This incompatibility results in projects built with compose 1.6.11 failing for example due to:
Exception in thread "main" java.lang.NoSuchMethodError: 'void androidx.compose.runtime.Composer.startReplaceGroup(int)'
at androidx.compose.ui.platform.PlatformLocalization_desktopKt.defaultPlatformLocalization(PlatformLocalization.desktop.kt)
(or other APIs which were changed like ripple, ..)
To Reproduce
1) Upgrade the project to Koin 4.0.0-RC01
2) Retrieve dependencies with gradles dependencies task
3) Observe compose 1.7.0-alpha01 is pulled in via the navigation plugin
Describe the bug
Koin 4.0.0-RC1 contains a commit upgrading to compose-navigation 2.8.0-alpha08 - This change results in koin depending on compose 2.7.0-alpha01.
Based on other version definitions in the toml I believe the project means to still depend on compose 1.6.11 instead for the 4.0.0 release.
Unfortunately, using
compose-navigation
2.8.0-alpha08 forces the project to Compsoe 1.7.0While
compose-navigation
2.7.0-alpha07 would use compose 1.6.11This incompatibility results in projects built with compose 1.6.11 failing for example due to:
(or other APIs which were changed like
ripple
, ..)To Reproduce 1) Upgrade the project to Koin 4.0.0-RC01 2) Retrieve
dependencies
with gradlesdependencies
task 3) Observe compose 1.7.0-alpha01 is pulled in via the navigation pluginExpected behavior
Koin module and version:
io.insert-koin:koin-core-viewmodel:4.0.0-RC1
Snippet or Sample project to help reproduce Add a snippet or even a small sample project to hel reproduce your case.