diff --git a/plugins/dependencies/src/main/kotlin/de/fayard/refreshVersions/RefreshVersionsPlugin.kt b/plugins/dependencies/src/main/kotlin/de/fayard/refreshVersions/RefreshVersionsPlugin.kt index af9ec154..84b5308d 100644 --- a/plugins/dependencies/src/main/kotlin/de/fayard/refreshVersions/RefreshVersionsPlugin.kt +++ b/plugins/dependencies/src/main/kotlin/de/fayard/refreshVersions/RefreshVersionsPlugin.kt @@ -23,6 +23,7 @@ open class RefreshVersionsPlugin : Plugin { internal val artifactVersionKeyRulesFileNames: List = listOf( "androidx-version-alias-rules.txt", + "bumptech-version-alias-rules.txt", "cashapp-version-alias-rules.txt", "dependency-groups-alias-rules.txt", "google-version-alias-rules.txt", diff --git a/plugins/dependencies/src/main/kotlin/dependencies/BumpTech.kt b/plugins/dependencies/src/main/kotlin/dependencies/BumpTech.kt new file mode 100644 index 00000000..7bc486b0 --- /dev/null +++ b/plugins/dependencies/src/main/kotlin/dependencies/BumpTech.kt @@ -0,0 +1,68 @@ +@file:Suppress("PackageDirectoryMismatch", "SpellCheckingInspection", "unused") + +import de.fayard.refreshVersions.core.DependencyNotationAndGroup +import org.gradle.kotlin.dsl.IsNotADependency + +object BumpTech : IsNotADependency { + + /** + * Glide is a fast and efficient open source media management and image loading framework for Android. Glide offers an easy to use API, + * a performant and extensible resource decoding pipeline and automatic resource pooling. + * + * [Official website](https://bumptech.github.io/glide) + * + * GitHub page: [bumptech/glide](https://github.com/bumptech/glide) + */ + val glide = Glide + + object Glide : DependencyNotationAndGroup(group = "com.github.bumptech.glide", name = "glide") { + + /** A set of annotations for configuring Glide. */ + val annotations = module("annotations") + + /** An integration library to support AVIF images in Glide. */ + val avif = module("avif-integration") + + /** Glide's anntation processor. */ + val compiler = module("compiler") + + /** An integration library to integrate with Jetpack Compose. */ + val compose = module("compose") + + /** An integration library for using Glide with [`ListenableFutures`](https://developer.android.com/guide/background/listenablefuture). */ + val concurrent = module("concurrent-integration") + + /** An integration library to use Cronet to fetch data over HTTP/HTTPS in Glide. */ + val cronet = module("cronet-integration") + + /** A cache that uses a bounded amount of space on a filesystem. Based on Jake Wharton's tailored for Glide. */ + val diskLruCache = module("disklrucache") + + /** An integration library allowing users to re-encode or create animated GIFs. */ + val gifEncoder = module("gifencoder-integration") + + /** Implementation of GifDecoder that is more memory efficient to animate for Android devices. */ + val gifDecoder = module("gifdecoder") + + /** Glide's KSP based annotation processor. */ + val ksp = module("ksp") + + /** An integration library to improve Kotlin interop with Glide. */ + val ktx = module("ktx") + + /** A set of mocks to ease testing with Glide. */ + val mocks = module("mocks") + + /** An integration library to use OkHttp 2.x to fetch data over HTTP/HTTPS in Glide. */ + val okhttp = module("okhttp-integration") + + /** An integration library to use OkHttp 3.x to fetch data over HTTP/HTTPS in Glide. */ + val okhttp3 = module("okhttp3-integration") + + /** An integration library to display images in `RecyclerView`. */ + val recyclerView = module("recyclerView-integration") + + /** An integration library to use Volley to fetch data over HTTP/HTTPS in Glide. */ + val volley = module("concurrent-integration") + } +} diff --git a/plugins/dependencies/src/main/kotlin/dependencies/_ALL.kt b/plugins/dependencies/src/main/kotlin/dependencies/_ALL.kt index 0297e75e..0b117a54 100644 --- a/plugins/dependencies/src/main/kotlin/dependencies/_ALL.kt +++ b/plugins/dependencies/src/main/kotlin/dependencies/_ALL.kt @@ -6,6 +6,7 @@ import Android import AndroidX import ApolloGraphQL import Arrow +import BumpTech import COIL import CashApp import Chucker @@ -35,6 +36,7 @@ internal val ALL_DEPENDENCIES_NOTATIONS = listOf( AndroidX, ApolloGraphQL, Arrow, + BumpTech, CashApp, Chucker, COIL, diff --git a/plugins/dependencies/src/main/resources/refreshVersions-rules/bumptech-version-alias-rules.txt b/plugins/dependencies/src/main/resources/refreshVersions-rules/bumptech-version-alias-rules.txt new file mode 100644 index 00000000..40c1e5c0 --- /dev/null +++ b/plugins/dependencies/src/main/resources/refreshVersions-rules/bumptech-version-alias-rules.txt @@ -0,0 +1,8 @@ +com.github.bumptech.glide:* + ^^^^^^^^^^^^^^ + +com.github.bumptech.glide:compose + ^^^^^^^^^^^^^^.^^^^^^^ + +com.github.bumptech.glide:ktx + ^^^^^^^^^^^^^^.^^^