mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
upgrade glide module and glide ksp
This commit is contained in:
parent
962ff1c058
commit
26d8205d4b
2 changed files with 4 additions and 4 deletions
|
@ -172,9 +172,9 @@ dependencies {
|
||||||
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
||||||
|
|
||||||
// Glide Module
|
// Glide Module
|
||||||
ksp("com.github.bumptech.glide:ksp:4.15.1")
|
ksp("com.github.bumptech.glide:ksp:4.16.0")
|
||||||
implementation("com.github.bumptech.glide:glide:4.15.1")
|
implementation("com.github.bumptech.glide:glide:4.16.0")
|
||||||
implementation("com.github.bumptech.glide:okhttp3-integration:4.15.1")
|
implementation("com.github.bumptech.glide:okhttp3-integration:4.16.0")
|
||||||
|
|
||||||
// For KSP -> Official Annotation Processors are Not Yet Supported for KSP
|
// For KSP -> Official Annotation Processors are Not Yet Supported for KSP
|
||||||
ksp("dev.zacsweers.autoservice:auto-service-ksp:1.1.0")
|
ksp("dev.zacsweers.autoservice:auto-service-ksp:1.1.0")
|
||||||
|
|
|
@ -30,7 +30,7 @@ class GlideModule : AppGlideModule() {
|
||||||
.signature(ObjectKey(System.currentTimeMillis().toShort()))
|
.signature(ObjectKey(System.currentTimeMillis().toShort()))
|
||||||
}.setDiskCache {
|
}.setDiskCache {
|
||||||
// Possible to make this a setting in the future.
|
// 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()
|
InternalCacheDiskCacheFactory(context, memoryCacheSizeBytes).build()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue