From 26d8205d4b2c77d306cf73ae8a802b86af9b803d Mon Sep 17 00:00:00 2001 From: IndusAryan Date: Tue, 28 Nov 2023 18:01:57 +0530 Subject: [PATCH] upgrade glide module and glide ksp --- app/build.gradle.kts | 6 +++--- .../main/java/com/lagradost/cloudstream3/utils/GlideApp.kt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 8e1798d8..bd1bc5ad 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -172,9 +172,9 @@ dependencies { implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0") // Glide Module - ksp("com.github.bumptech.glide:ksp:4.15.1") - implementation("com.github.bumptech.glide:glide:4.15.1") - implementation("com.github.bumptech.glide:okhttp3-integration:4.15.1") + ksp("com.github.bumptech.glide:ksp:4.16.0") + implementation("com.github.bumptech.glide:glide:4.16.0") + implementation("com.github.bumptech.glide:okhttp3-integration:4.16.0") // For KSP -> Official Annotation Processors are Not Yet Supported for KSP ksp("dev.zacsweers.autoservice:auto-service-ksp:1.1.0") diff --git a/app/src/main/java/com/lagradost/cloudstream3/utils/GlideApp.kt b/app/src/main/java/com/lagradost/cloudstream3/utils/GlideApp.kt index 8d73db3d..38d3fe9e 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/utils/GlideApp.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/utils/GlideApp.kt @@ -30,7 +30,7 @@ class GlideModule : AppGlideModule() { .signature(ObjectKey(System.currentTimeMillis().toShort())) }.setDiskCache { // Possible to make this a setting in the future. - val memoryCacheSizeBytes: Long = 1024 * 1024 * 100; // 100mb + val memoryCacheSizeBytes: Long = 1024 * 1024 * 100 // 100mb InternalCacheDiskCacheFactory(context, memoryCacheSizeBytes).build() } }