From 8a7dc7e034e454401be6de62ecc392878b5f204b Mon Sep 17 00:00:00 2001 From: Petros Paraskevopoulos Date: Mon, 13 Mar 2023 16:41:16 +0200 Subject: [PATCH] Deps: Add google flexbox transitively used dependencies on wordpress It is generally recommended that transitively used dependencies should be declared directly. ------------------------------------------------------------------------ Actually, updating 'Zendesk', which was the dependency that was providing this transitively used 'Flexbox' dependency to the project, was causing a compilation failure. This is due to the fact that the [BloggingPromptsOnboardingDialogFragment], [BloggingPromptCardViewHolder] and [WPEditTextWithChipsOutlined] classes are directly using this dependency, but could no longer resolve it. PS: This is (most probably) due to the fact that this 'Flexbox' dependency was no longer available on newer 'Zendesk' versions. --- WordPress/build.gradle | 1 + build.gradle | 1 + 2 files changed, 2 insertions(+) diff --git a/WordPress/build.gradle b/WordPress/build.gradle index 54c897202e53..2e7207f8712f 100644 --- a/WordPress/build.gradle +++ b/WordPress/build.gradle @@ -389,6 +389,7 @@ dependencies { implementation "androidx.cardview:cardview:$androidxCardviewVersion" implementation "androidx.recyclerview:recyclerview:$androidxRecyclerviewVersion" implementation "com.google.android.material:material:$googleMaterialVersion" + implementation "com.google.android.flexbox:flexbox:$googleFlexboxlayoutVersion" implementation "androidx.percentlayout:percentlayout:$androidxPercentlayoutVersion" implementation "androidx.swiperefreshlayout:swiperefreshlayout:$androidxSwipeToRefreshVersion" implementation "androidx.preference:preference:$androidxPreferenceVersion" diff --git a/build.gradle b/build.gradle index 295047984d17..8949d6c61f07 100644 --- a/build.gradle +++ b/build.gradle @@ -64,6 +64,7 @@ ext { glideVolleyVersion = '4.6.1@aar' googleAutoServiceVersion = '1.0' googleExoPlayerVersion = '2.13.3' + googleFlexboxlayoutVersion = '3.0.0' googleGsonVersion = '2.6.2' googleMaterialVersion = '1.2.1' googleMLKitBarcodeScanningVersion = '17.0.0'