diff --git a/WordPress/build.gradle b/WordPress/build.gradle index c1b5666bba41..f5f6f91bdc0e 100644 --- a/WordPress/build.gradle +++ b/WordPress/build.gradle @@ -414,7 +414,7 @@ dependencies { implementation libs.androidx.fragment.ktx implementation libs.androidx.appcompat implementation libs.androidx.appcompat.resources - implementation "androidx.cardview:cardview:$androidxCardviewVersion" + implementation libs.androidx.cardView implementation "androidx.recyclerview:recyclerview:$androidxRecyclerviewVersion" implementation "com.google.android.material:material:$googleMaterialVersion" implementation "com.google.android.flexbox:flexbox:$googleFlexboxlayoutVersion" diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c140593acdb4..b3d914d10100 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,6 +3,7 @@ androidxActivity = '1.8.0' androidxAppcompat = '1.6.1' androidxArchCore = '2.2.0' androidxCamera = '1.3.4' +androidxCardview = '1.0.0' androidxComposeNavigation = '2.7.6' androidxCore = '1.10.0' androidxFragment = '1.6.2' @@ -30,6 +31,7 @@ androidx-appcompat-resources = { group = "androidx.appcompat", name = "appcompat androidx-camera = { group = "androidx.camera", name = "camera-camera2", version.ref ="androidxCamera" } androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref ="androidxCamera" } androidx-camera-view = { group = "androidx.camera", name = "camera-view", version.ref ="androidxCamera" } +androidx-cardView = { group = "androidx.cardview", name = "cardview", version.ref = "androidxCardview" } androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation" } androidx-compose-foundation-layout = { group = "androidx.compose.foundation", name = "foundation-layout" } androidx-compose-material = { group = "androidx.compose.material", name = "material" }