Modern Apps git

← Modern-Apps.git

fooddelivery: fix build issue

Commit
f60c2bbb9d42ada0084898b2ed6021feee08c2df
Author
Vayun Mathur <[email protected]>
When
2026-08-01 05:26 UTC (4 months ago)
Parents
e0f7e5a

Diff

fooddelivery/build.gradle.kts
diff --git a/fooddelivery/build.gradle.kts b/fooddelivery/build.gradle.ktsindex be59071438..564b0cc0a4 100644--- a/fooddelivery/build.gradle.kts+++ b/fooddelivery/build.gradle.kts@@ -17,4 +17,13 @@ dependencies {     implementation(project(":library:image"))     implementation(project(":library:network"))     implementation(libs.stripe.android)+    // stripe-android applies the kotlin-parcelize compiler plugin but never publishes+    // kotlin-parcelize-runtime in its POM, so kotlinx.parcelize.Parceler is absent from+    // the classpath. Four payments-core companions (PaymentFlowResult.Unvalidated,+    // PaymentRelayStarter.Args.ErrorArgs, GooglePayLauncherResult.Error and+    // SourceParams.ApiParams) *implement* that interface, so this is a real missing+    // superinterface, not just a stray annotation reference: R8 fails the release build,+    // and -dontwarn would only trade that for a NoClassDefFoundError the first time a+    // payment result is parcelled. Supply the runtime instead.+    implementation(libs.kotlin.parcelize.runtime) }
gradle/libs.versions.toml
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.tomlindex 71a16b7eae..0cdc35b35a 100644--- a/gradle/libs.versions.toml+++ b/gradle/libs.versions.toml@@ -130,6 +130,9 @@ kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serializa kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinxDatetime" } kotlin-test = { group = "org.jetbrains.kotlin", name = "kotlin-test", version.ref = "kotlin" } kotlin-test-junit = { group = "org.jetbrains.kotlin", name = "kotlin-test-junit", version.ref = "kotlin" }+# Stripe compiles against kotlin-parcelize but doesn't publish the runtime as a POM+# dependency, so consumers must add it themselves. See :fooddelivery.+kotlin-parcelize-runtime = { group = "org.jetbrains.kotlin", name = "kotlin-parcelize-runtime", version.ref = "kotlinGradlePlugin" }  # AndroidX – core & lifecycle androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }