From a9cfca3eff6c5a016eb091958475c23efa1558d5 Mon Sep 17 00:00:00 2001 From: Kirill Kamakin Date: Mon, 31 Oct 2022 19:56:42 +0100 Subject: [PATCH] Replace Glide kapt with Glide KSP --- app/build.gradle.kts | 3 ++- gradle/libs.versions.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e0dd607..1a02acb 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -10,6 +10,7 @@ plugins { id("dagger.hilt.android.plugin") id("com.google.gms.google-services") id("com.google.firebase.crashlytics") + alias(libs.plugins.ksp) alias(libs.plugins.appsweep) } @@ -101,7 +102,7 @@ dependencies { // Excludes the support library because it's already included by Glide. isTransitive = false } - kapt(libs.bumptech.glide.compiler) + ksp(libs.bumptech.glide.ksp) implementation(libs.kirich1409.viewBinding) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1bb18b2..718bc8f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -150,7 +150,7 @@ okhttp3-loggingInterceptor = { group = "com.squareup.okhttp3", name = "logging-i bumptech-glide-glide = { group = "com.github.bumptech.glide", name = "glide", version.ref = "glide" } bumptech-glide-okhttp3 = { group = "com.github.bumptech.glide", name = "okhttp3-integration", version.ref = "glide" } bumptech-glide-recyclerview = { group = "com.github.bumptech.glide", name = "recyclerview-integration", version.ref = "glide" } -bumptech-glide-compiler = { group = "com.github.bumptech.glide", name = "compiler", version.ref = "glide" } +bumptech-glide-ksp = { group = "com.github.bumptech.glide", name = "ksp", version.ref = "glide" } kirich1409-viewBinding = { group = "com.github.kirich1409", name = "viewbindingpropertydelegate-noreflection", version.ref = "viewBindingDelegate" }