KamelMedia 库更新到最新版本,但我在构建时收到此错误:
Duplicate class co.touchlab.stately.collections.FunctionsKt found in modules stately-collections-jvm-2.0.0-rc3 (co.touchlab:stately-collections-jvm:2.0.0-rc3) and stately-iso-collections-jvm-2.0.5 (co.touchlab:stately-iso-collections-jvm:2.0.5)
我试图排除
implementation("media.kamel:kamel-image:0.9.2") {
exclude(
group = "co.touchlab",
module = "stately-collections-jvm" <-- this library I'm using in the different module
)
}
有人遇到过这个问题并知道如何解决吗?
也许有一天有人会发现这个解决方案很有用:)