Kamel-Media / Kamel

Kotlin asynchronous media loading and caching library for Compose.
Apache License 2.0
595 stars 23 forks source link

Duplicate dependencies with compose #21

Closed ch8n closed 1 year ago

ch8n commented 1 year ago

Please update compose version to support 1.1.0

Duplicate class androidx.compose.runtime.saveable.ListSaverKt found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.ListSaverKt$listSaver$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.MapSaverKt found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.MapSaverKt$mapSaver$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.MapSaverKt$mapSaver$2 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.RememberSaveableKt found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.RememberSaveableKt$mutableStateSaver$1$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.RememberSaveableKt$mutableStateSaver$1$2 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.RememberSaveableKt$rememberSaveable$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.RememberSaveableKt$rememberSaveable$1$invoke$$inlined$onDispose$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.RememberSaveableKt$rememberSaveable$1$valueProvider$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.RememberSaveableKt$rememberSaveable$1$valueProvider$1$1$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolder found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolderImpl found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolderImpl$Companion found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolderImpl$Companion$Saver$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolderImpl$Companion$Saver$2 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolderImpl$RegistryHolder found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolderImpl$RegistryHolder$registry$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolderImpl$SaveableStateProvider$1$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class 
...
other deps...
...
androidx.compose.runtime.saveable.SaveableStateHolderImpl$SaveableStateProvider$1$1$invoke$$inlined$onDispose$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolderImpl$SaveableStateProvider$2 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolderKt found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateHolderKt$rememberSaveableStateHolder$1 found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateRegistry found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime (org.jetbrains.compose.runtime:runtime-saveable-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.runtime.saveable.SaveableStateRegistry$Entry found in modules runtime-saveable-1.1.0-runtime (androidx.compose.runtime:runtime-saveable:1.1.0) and runtime-saveable-debug-runtime 
Duplicate class androidx.compose.ui.graphics.ClipOp found in modules ui-graphics-1.1.0-runtime (androidx.compose.ui:ui-graphics:1.1.0) and ui-graphics-debug-runtime (org.jetbrains.compose.ui:ui-graphics-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.graphics.ClipOp$Companion found in modules ui-graphics-1.1.0-runtime (androidx.compose.ui:ui-graphics:1.1.0) and ui-graphics-debug-runtime (org.jetbrains.compose.ui:ui-graphics-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.graphics.Color found in modules ui-graphics-1.1.0-runtime (androidx.compose.ui:ui-graphics:1.1.0) and ui-graphics-debug-runtime (org.jetbrains.compose.ui:ui-graphics-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.graphics.Color$Companion found in modules ui-graphics-1.1.0-runtime (androidx.compose.ui:ui-graphics:1.1.0) and ui-graphics-debug-runtime (org.jetbrains.compose.ui:ui-graphics-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.graphics.ColorFilter found in modules ui-graphics-1.1.0-runtime (androidx.compose.ui:ui-graphics:1.1.0) and ui-graphics-debug-runtime (org.jetbrains.compose.ui:ui-graphics-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.graphics.ColorFilter$Companion found in modules ui-graphics-1.1.0-runtime plicate class androidx.compose.ui.window.PopupLayout$2 found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.window.PopupLayout$WhenMappings found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.window.PopupLayout$canCalculatePosition$2 found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.window.PopupLayoutHelper found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.window.PopupLayoutHelperImpl found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.window.PopupLayoutHelperImpl29 found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.window.PopupPositionProvider found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.window.PopupProperties found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.window.SecureFlagPolicy found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.window.SecureFlagPolicy_androidKt found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)
Duplicate class androidx.compose.ui.window.SecureFlagPolicy_androidKt$WhenMappings found in modules ui-1.1.0-runtime (androidx.compose.ui:ui:1.1.0) and ui-debug-runtime (org.jetbrains.compose.ui:ui-android-debug:1.0.0-alpha2)

Go to the documentation to learn how to Fix dependency resolution errors.
alialbaali commented 1 year ago

Please check version 0.4.0 which has been released with the latest Compose build.