Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / fooddelivery / build.gradle.kts
build.gradle.kts33 lines · 1.3 KiBRaw
| 1 | plugins { |
| 2 | id("common-conventions-app") |
| 3 | // Listing screenshots come from Compose previews (src/screenshotTest), not from an |
| 4 | // instrumented test on a device. Same `:fooddelivery:metadata` task name either way. |
| 5 | id("common-conventions-preview-metadata") |
| 6 | } |
| 7 | |
| 8 | launcherIcon { |
| 9 | symbol = "restaurant" |
| 10 | } |
| 11 | |
| 12 | android { |
| 13 | defaultConfig { |
| 14 | applicationId = "com.vayunmathur.fooddelivery" |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | dependencies { |
| 19 | implementation(libs.kotlinx.serialization.json) |
| 20 | implementation(project(":library:image")) |
| 21 | implementation(project(":library:map")) |
| 22 | implementation(project(":library:network")) |
| 23 | implementation(libs.stripe.android) |
| 24 | // stripe-android applies the kotlin-parcelize compiler plugin but never publishes |
| 25 | // kotlin-parcelize-runtime in its POM, so kotlinx.parcelize.Parceler is absent from |
| 26 | // the classpath. Four payments-core companions (PaymentFlowResult.Unvalidated, |
| 27 | // PaymentRelayStarter.Args.ErrorArgs, GooglePayLauncherResult.Error and |
| 28 | // SourceParams.ApiParams) *implement* that interface, so this is a real missing |
| 29 | // superinterface, not just a stray annotation reference: R8 fails the release build, |
| 30 | // and -dontwarn would only trade that for a NoClassDefFoundError the first time a |
| 31 | // payment result is parcelled. Supply the runtime instead. |
| 32 | implementation(libs.kotlin.parcelize.runtime) |
| 33 | } |