Closed Tolriq closed 2 years ago
The same for me
Apparently Jetbrains Compose is not replacing the dependencies on gradle module metadata file
, it is only on the pom file.
The only solution as a User that I can think is using excluding transitive dependencies like this: implementation("cafe.adriel.voyager:voyager-core-android-debug:1.0.0-beta14") { isTransitive = false }
Can you try that to see if this solution work for you?
The solution as a project level it would by excluding compose dependencies from the publishing on Gradle Module Metadata.
Good references for this: https://blog.jetbrains.com/kotlin/2021/10/compose-multiplatform-goes-beta/#androidartifacts https://jakewharton.com/multiplatform-compose-and-gradle-module-metadata-abuse/
Testing here I found out that the Jetbrains Compose plugins is already replacing correctly but Gradle is only replacing it on the pom
file for some reason, seems to be a Gradle issue.
Fixed in 1.0.0-beta15. Thanks for your help @DevSrSouza !
Is there a new way to handle the deps? I do not want jetbrain compose in the android app.