themed-toggle-button-group icon indicating copy to clipboard operation
themed-toggle-button-group copied to clipboard

Remove deprecated kotlin-android-extensions-runtime dependency

Open muaaz-fa opened this issue 3 months ago • 0 comments

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 plugin org.jetbrains.kotlin.plugin.parcelize instead.

Thanks a lot for your great work on this library!

muaaz-fa avatar Sep 22 '25 10:09 muaaz-fa