From ff88c755c26d9aa3ea4d7967500eee07f90f285f Mon Sep 17 00:00:00 2001 From: Goooler Date: Mon, 2 Feb 2026 10:36:24 +0800 Subject: [PATCH] Revert "Fix duplicate class kotlinx.android.parcel.* found" This reverts commit 199ee3a77ed57efa34fd31cef1aea13337c89a17. --- build.gradle | 9 --------- gradle/libs.versions.toml | 3 --- 2 files changed, 12 deletions(-) diff --git a/build.gradle b/build.gradle index 1de8dc13bf..fbe01398b0 100644 --- a/build.gradle +++ b/build.gradle @@ -83,15 +83,6 @@ allprojects { } } - configurations.configureEach { - resolutionStrategy.eachDependency { - // Fix duplicate class kotlinx.android.parcel.* found in these 2 dependencies. - if (requested.module == libs.kotlin.androidExtensionRuntime.get().module) { - useTarget(libs.kotlin.parcelizeRuntime) - } - } - } - ext { FRAMEWORK_PREBUILTS_DIR = "$rootDir/prebuilts/libs" diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d1fb42e32c..c3939383fb 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -108,9 +108,6 @@ room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "androidx-room" } room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "androidx-room" } -# Kotlin -kotlin-androidExtensionRuntime = { module = "org.jetbrains.kotlin:kotlin-android-extensions-runtime", version.ref = "kotlin" } -kotlin-parcelizeRuntime = { module = "org.jetbrains.kotlin:kotlin-parcelize-runtime", version.ref = "kotlin" } # KotlinX kotlinx-coroutines-android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2" kotlinx-coroutines-test = "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.2"