I’ve created a Compose Desktop up by running the K...
# koin
k
I’ve created a Compose Desktop up by running the KMP wizard (https://kmp.jetbrains.com/) and just choosing Desktop, no other targets. In the app I try and add Koin
Copy code
desktopMain.dependencies {
            implementation(compose.desktop.currentOs)
            implementation(compose.material3)
            implementation(compose.materialIconsExtended)

            implementation(platform(rootProject.libs.koin.bom))
When I do this, it shows ‘platform’ is deprecated and I get an exception when importing the Gradle project
Copy code
* What went wrong:
Cannot convert the provided notation to an object of type Dependency: map(valueof(DependencyValueSource)).
The following types/formats are supported:
  - String or CharSequence values, for example 'org.gradle:gradle-core:1.0'.
  - Maps, for example [group: 'org.gradle', name: 'gradle-core', version: '1.0'].
  - FileCollections, for example files('some.jar', 'someOther.jar').
  - Projects, for example project(':some:project:path').
  - ClassPathNotation, for example gradleApi().
It all works if I don’t use the BOM and it also works in a ‘standard’ dependencies definition but not in desktop.dependencies or commonMain.dependencies, which I think are defined by the Kotlin multi-platform plugin