diff --git a/WooCommerce/build.gradle b/WooCommerce/build.gradle index d93d3dfa278..f4ecd1e7106 100644 --- a/WooCommerce/build.gradle +++ b/WooCommerce/build.gradle @@ -319,9 +319,9 @@ dependencies { implementation(libs.mpandroidchart) - implementation "com.github.bumptech.glide:glide:$glideVersion" - ksp "com.github.bumptech.glide:compiler:$glideVersion" - implementation "com.github.bumptech.glide:volley-integration:$glideVersion@aar" + implementation(libs.bumptech.glide.main) + ksp(libs.bumptech.glide.compiler) + implementation(libs.bumptech.glide.volley.integration) implementation 'com.google.android.play:app-update:2.1.0' implementation 'com.google.android.play:review:2.0.1' diff --git a/build.gradle b/build.gradle index b0680ff5f4b..e89ab400436 100644 --- a/build.gradle +++ b/build.gradle @@ -100,7 +100,6 @@ tasks.register("installGitHooks", Copy) { } ext { - glideVersion = '4.16.0' coilVersion = '2.1.0' constraintLayoutVersion = '1.2.0' eventBusVersion = '3.3.1' diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 24af28fa8c8..af5128aa332 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -21,6 +21,7 @@ androidx-work = '2.7.1' automattic-about = '0.0.6' automattic-tracks = '5.0.0' assertj = '3.24.1' +bumptech-glide = '4.16.0' facebook-shimmer = '0.5.0' google-firebase-bom = '32.7.1' google-material = '1.12.0' @@ -79,6 +80,9 @@ automattic-about = { group = "com.automattic", name = "about", version.ref = "au automattic-tracks-android = { group = "com.automattic", name = "Automattic-Tracks-Android", version.ref = "automattic-tracks" } automattic-tracks-experimentation = { group = "com.automattic.tracks", name = "experimentation", version.ref = "automattic-tracks" } automattic-tracks-crashlogging = { group = "com.automattic.tracks", name = "crashlogging", version.ref = "automattic-tracks" } +bumptech-glide-main = { group = "com.github.bumptech.glide", name = "glide", version.ref = "bumptech-glide" } +bumptech-glide-compiler = { group = "com.github.bumptech.glide", name = "compiler", version.ref = "bumptech-glide" } +bumptech-glide-volley-integration = { group = "com.github.bumptech.glide", name = "volley-integration", version.ref = "bumptech-glide" } facebook-shimmer = { group = "com.facebook.shimmer", name = "shimmer", version.ref = "facebook-shimmer" } google-firebase-analytics = { group = "com.google.firebase", name = "firebase-analytics" } google-firebase-bom = { group = "com.google.firebase", name = "firebase-bom", version.ref = "google-firebase-bom" }