Twelve: Add explicit dependency on coil-core-android
Otherwise we don't import the AAR varaint of the
library that includes the resources.
Change-Id: Iea66dd4fd7dc322345cd63b6c055b6dae9ae6ca9
diff --git a/app/Android.bp b/app/Android.bp
index 3fcfa8a..f34c993 100644
--- a/app/Android.bp
+++ b/app/Android.bp
@@ -60,14 +60,15 @@
"androidx.room_room-ktx",
"androidx.viewpager2_viewpager2",
"Twelve_io.coil-kt.coil3_coil",
+ "Twelve_io.coil-kt.coil3_coil-core-android",
"Twelve_io.coil-kt.coil3_coil-network-okhttp",
"Twelve_com.google.android.material_material",
"Twelve_com.github.bogerchan_Nier-Visualizer",
"Twelve_com.squareup.okhttp3_okhttp",
"kotlin-stdlib",
- "kotlinx_serialization_json",
"androidx.lifecycle_lifecycle-service",
"kotlinx_coroutines_guava",
+ "kotlinx_serialization_json",
],
optimize: {
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 3b6ae21..3b97b96 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -92,6 +92,7 @@
implementation(libs.androidx.room.ktx)
implementation(libs.androidx.viewpager2)
implementation(libs.coil)
+ implementation(libs.coil.core.android)
implementation(libs.coil.network.okhttp)
implementation(libs.kotlinx.coroutines.guava)
implementation(libs.kotlinx.serialization.json)
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 4267cdd..8c7e540 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -44,6 +44,7 @@
androidx-room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "room" }
androidx-viewpager2 = { group = "androidx.viewpager2", name = "viewpager2", version.ref = "viewpager2" }
coil = { group = "io.coil-kt.coil3", name = "coil", version.ref = "coil" }
+coil-core-android = { group = "io.coil-kt.coil3", name = "coil-core-android", version.ref = "coil" }
coil-network-okhttp = { group = "io.coil-kt.coil3", name = "coil-network-okhttp", version.ref = "coil" }
kotlinx-coroutines-guava = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-guava", version.ref = "kotlinx-coroutines" }
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinx-serialization" }