https://kotlinlang.org logo
#gradle
Title
# gradle
h

Hristijan

03/18/2024, 12:34 PM
hey guys, anyone running into this on a KMP project?
Copy code
implementation(dependency = libs.firebase.kotlin.crashlytics.get(), configure = {
    
})
adding
.get()
works 😕
Copy code
implementation(dependency = libs.firebase.kotlin.crashlytics.get()){
    exclude(":shared:jvmMain")
}
and i’m getting
Minimal dependencies are immutable.
I just wanna exclude jvm from adding this library, do i have to go and add it separaltey for ios, android etc… except jvm?
m

mbonnin

03/18/2024, 12:49 PM
Add 'toString()'
.get().toString()
Don't ask me why
thank you color 1
I think there are plans to make the KMP apis more consistent, you can also read that thread. But I haven't followed lately
3 Views