-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hi,
While integrating this library into a modern Android project, I ran into duplicate class errors:
Duplicate class kotlinx.android.parcel.Parcelize found in:
- org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.3.61
- org.jetbrains.kotlin:kotlin-parcelize-runtime:2.2.20
This happens because the library is still depending on kotlin-android-extensions-runtime
, which has been deprecated since Kotlin 1.4.
The @Parcelize
functionality was moved to the kotlin-parcelize
plugin and kotlin-parcelize-runtime
.
Suggested fix:
- Remove
kotlin-android-extensions-runtime
from dependencies. - If
@Parcelize
is needed, rely on the Gradle pluginorg.jetbrains.kotlin.plugin.parcelize
instead.
Thanks a lot for your great work on this library!
Metadata
Metadata
Assignees
Labels
No labels