From 6d6bd40e702a437b1ae8be9e15d559e932fd1025 Mon Sep 17 00:00:00 2001 From: Jean Hertel Date: Wed, 6 Mar 2024 20:50:31 +0100 Subject: [PATCH] Add support for AVIF --- app/build.gradle.kts | 1 + gradle/libs.versions.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2d1a65025..eb67e2551 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -108,6 +108,7 @@ dependencies { implementation(libs.androidx.swiperefreshlayout) implementation(libs.awebp) implementation(libs.apng) + implementation(libs.avif.integration) implementation(libs.okio) implementation(libs.picasso) { exclude(group = "com.squareup.okhttp3", module = "okhttp") diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2f38e2eba..cbf7d1568 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -68,6 +68,7 @@ awebp = { module = "com.github.penfeizhou.android.animation:awebp", version.ref glide-compiler = { module = "com.github.bumptech.glide:ksp", version.ref = "glideCompiler" } zjupure-webpdecoder = { module = "com.github.zjupure:webpdecoder", version.ref = "zjupureWebpdecoder" } picasso = { module = "com.squareup.picasso:picasso", version.ref = "picasso" } +avif-integration = { group = "com.github.bumptech.glide", name = "avif-integration", version.ref = "glideCompiler" } [bundles] room = [ "androidx-room-ktx",