jamshedalamqaderi
06/07/2025, 3:26 PMDependency io.github.dokar3:sonner:0.3.8 depends on io.github.dokar3:sonner-android:0.3.8 which has the following problem:
Module io.github.dokar3:sonner:0.3.8 depends on androidx.compose.ui:ui-tooling-preview, but its version could not be resolved. Attribute version is not defined
Anton Prokhorov
06/11/2025, 9:50 AMabarsov
06/12/2025, 3:55 PM0.8.0-dev-2908
.
Though at the moment, to add dependency on io.github.dokar3:sonner:0.3.8
one should also declare dependency on a android-compose BOM like this
dependencies:
- io.github.dokar3:sonner:0.3.8
- bom: androidx.compose:compose-bom:2025.05.00
And I have filed an issue to add that BOM import automatically for android modules with compose enabled: AMPER-4448/Add-implicit-import-of-android-compose-BOM-to-android-related-modules-if-compose-is-enabled