In my KMP `sourceSets` I have the following: ```a...
# gradle
e
In my KMP
sourceSets
I have the following:
Copy code
androidMain {
  dependencies {
    implementation(platform(libs.composeAndroid.bom)) // composeAndroid-bom = "dev.chrisbanes.compose:compose-bom:2023.09.00-alpha03"
    implementation(libs.composeAndroid.material3) // composeAndroid-material3 = { module = "androidx.compose.material3:material3" }
  }
}
but I get an error
Cannot convert the provided notation to an object of type Dependency: map(valueof(DependencyValueSource)).
If I move it to a top level
dependencies
block (which the Android plugin uses) it works fine.
e
You can use a different config to declare the libs from the bom:
firebase-bom = { module = "com.google.firebase:firebase-bom", version.ref = "firebase-bom"}
firebase-crashlytics-ktx = { group = "com.google.firebase", name = "firebase-crashlytics-ktx" }
firebase-crashlytics-ndk = { group = "com.google.firebase", name = "firebase-crashlytics-ndk" }
firebase-perf = { group = "com.google.firebase", name = "firebase-perf" }