Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue-512] Dependency notations for BumpTech Glide #649

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 115 additions & 2 deletions docs/dependency-notations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Built-in Dependency Notations
---
# Built-in Dependency Notations

[**refreshVersions**](https://github.com/jmfayard/refreshVersions) provides **1180** Dependency Notations in **26** groups and **249** subgroups
[**refreshVersions**](https://github.com/jmfayard/refreshVersions) provides **1197** Dependency Notations in **27** groups and **250** subgroups

**Built-in Dependency Notations** are maven coordinates of popular libraries,
discoverable as for example `KotlinX.coroutines.core` in IntelliJ IDEA,
Expand Down Expand Up @@ -2431,7 +2431,120 @@ Hover 🐁 on a dependency notation to see its `Triple(KotlinName, MavenCoordina
</td></tr>

</table>



## [BumpTech.kt](https://github.com/jmfayard/refreshVersions/blob/main/plugins/dependencies/src/main/kotlin/dependencies/BumpTech.kt)


<table style="width: 100%; table-layout:fixed;">
<thead><tr><th>Group</th> <th>Dependency Notations</th></tr></thead>
<tr><td><b>BumpTech</b></td><td>
<span
title="BumpTech.glide&#10;com.github.bumptech.glide:glide:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
glide
</span>
</td></tr>
<tr><td><b>BumpTech.glide</b></td><td>
<span
title="BumpTech.glide.annotations&#10;com.github.bumptech.glide:annotations:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
annotations
</span>
-
<span
title="BumpTech.glide.avif&#10;com.github.bumptech.glide:avif-integration:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
avif
</span>
-
<span
title="BumpTech.glide.compiler&#10;com.github.bumptech.glide:compiler:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
compiler
</span>
-
<span
title="BumpTech.glide.compose&#10;com.github.bumptech.glide:compose:_&#10;version.bumptech.glide.compose"
style="text-decoration: underline;">
compose
</span>
-
<span
title="BumpTech.glide.concurrent&#10;com.github.bumptech.glide:concurrent-integration:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
concurrent
</span>
-
<span
title="BumpTech.glide.cronet&#10;com.github.bumptech.glide:cronet-integration:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
cronet
</span>
-
<span
title="BumpTech.glide.diskLruCache&#10;com.github.bumptech.glide:disklrucache:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
diskLruCache
</span>
-
<span
title="BumpTech.glide.gifEncoder&#10;com.github.bumptech.glide:gifencoder-integration:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
gifEncoder
</span>
-
<span
title="BumpTech.glide.gifDecoder&#10;com.github.bumptech.glide:gifdecoder:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
gifDecoder
</span>
-
<span
title="BumpTech.glide.ksp&#10;com.github.bumptech.glide:ksp:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
ksp
</span>
-
<span
title="BumpTech.glide.ktx&#10;com.github.bumptech.glide:ktx:_&#10;version.bumptech.glide.ktx"
style="text-decoration: underline;">
ktx
</span>
-
<span
title="BumpTech.glide.mocks&#10;com.github.bumptech.glide:mocks:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
mocks
</span>
-
<span
title="BumpTech.glide.okhttp&#10;com.github.bumptech.glide:okhttp-integration:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
okhttp
</span>
-
<span
title="BumpTech.glide.okhttp3&#10;com.github.bumptech.glide:okhttp3-integration:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
okhttp3
</span>
-
<span
title="BumpTech.glide.recyclerView&#10;com.github.bumptech.glide:recyclerView-integration:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
recyclerView
</span>
-
<span
title="BumpTech.glide.volley&#10;com.github.bumptech.glide:volley-integration:_&#10;version.bumptech.glide"
style="text-decoration: underline;">
volley
</span>
</td></tr>

</table>


## [COIL.kt](https://github.com/jmfayard/refreshVersions/blob/main/plugins/dependencies/src/main/kotlin/dependencies/COIL.kt)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ open class RefreshVersionsPlugin : Plugin<Any> {

internal val artifactVersionKeyRulesFileNames: List<String> = 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",
Expand Down
68 changes: 68 additions & 0 deletions plugins/dependencies/src/main/kotlin/dependencies/BumpTech.kt
Original file line number Diff line number Diff line change
@@ -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 annotation 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("volley-integration")
}
}
2 changes: 2 additions & 0 deletions plugins/dependencies/src/main/kotlin/dependencies/_ALL.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Android
import AndroidX
import ApolloGraphQL
import Arrow
import BumpTech
import COIL
import CashApp
import Chucker
Expand Down Expand Up @@ -35,6 +36,7 @@ internal val ALL_DEPENDENCIES_NOTATIONS = listOf(
AndroidX,
ApolloGraphQL,
Arrow,
BumpTech,
CashApp,
Chucker,
COIL,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
com.github.bumptech.glide:*
^^^^^^^^^^^^^^

com.github.bumptech.glide:compose
^^^^^^^^^^^^^^.^^^^^^^

com.github.bumptech.glide:ktx
^^^^^^^^^^^^^^.^^^
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,4 @@ androidx.health..health-connect-client=version.androidx.health-connect-client
com.google.accompanist..accompanist-glide=version.google.accompanist
com.google.accompanist..accompanist-imageloading-core=version.google.accompanist
app.cash.molecule..molecule-testing=version.app.cash.molecule
androidx.compose.runtime..runtime-tracing=version.androidx.compose.runtime
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,23 @@ com.apollographql.apollo3:apollo-normalized-cache
com.apollographql.apollo3:apollo-normalized-cache-sqlite
com.apollographql.apollo3:apollo-runtime
com.apollographql.apollo3:apollo-testing-support
com.github.bumptech.glide:annotations
com.github.bumptech.glide:avif-integration
com.github.bumptech.glide:compiler
com.github.bumptech.glide:compose
com.github.bumptech.glide:concurrent-integration
com.github.bumptech.glide:cronet-integration
com.github.bumptech.glide:disklrucache
com.github.bumptech.glide:gifdecoder
com.github.bumptech.glide:gifencoder-integration
com.github.bumptech.glide:glide
com.github.bumptech.glide:ksp
com.github.bumptech.glide:ktx
com.github.bumptech.glide:mocks
com.github.bumptech.glide:okhttp-integration
com.github.bumptech.glide:okhttp3-integration
com.github.bumptech.glide:recyclerview-integration
com.github.bumptech.glide:volley-integration
com.github.chuckerteam.chucker:library
com.github.chuckerteam.chucker:library-no-op
com.google.accompanist:accompanist-appcompat-theme
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,23 @@ com.apollographql.apollo3..apollo-normalized-cache-sqlite=ApolloGraphQL.normaliz
com.apollographql.apollo3..apollo-normalized-cache=ApolloGraphQL.normalizedCache
com.apollographql.apollo3..apollo-runtime=ApolloGraphQL.runtime
com.apollographql.apollo3..apollo-testing-support=ApolloGraphQL.testingSupport
com.github.bumptech.glide..annotations=BumpTech.glide.annotations
com.github.bumptech.glide..avif-integration=BumpTech.glide.avif
com.github.bumptech.glide..compiler=BumpTech.glide.compiler
com.github.bumptech.glide..compose=BumpTech.glide.compose
com.github.bumptech.glide..concurrent-integration=BumpTech.glide.concurrent
com.github.bumptech.glide..cronet-integration=BumpTech.glide.cronet
com.github.bumptech.glide..disklrucache=BumpTech.glide.diskLruCache
com.github.bumptech.glide..gifdecoder=BumpTech.glide.gifDecoder
com.github.bumptech.glide..gifencoder-integration=BumpTech.glide.gifEncoder
com.github.bumptech.glide..glide=BumpTech.glide
com.github.bumptech.glide..ksp=BumpTech.glide.ksp
com.github.bumptech.glide..ktx=BumpTech.glide.ktx
com.github.bumptech.glide..mocks=BumpTech.glide.mocks
com.github.bumptech.glide..okhttp-integration=BumpTech.glide.okhttp
com.github.bumptech.glide..okhttp3-integration=BumpTech.glide.okhttp3
com.github.bumptech.glide..recyclerview-integration=BumpTech.glide.recyclerView
com.github.bumptech.glide..volley-integration=BumpTech.glide.volley
com.github.chuckerteam.chucker..library-no-op=Chucker.libraryNoOp
com.github.chuckerteam.chucker..library=Chucker.library
com.google.accompanist..accompanist-appcompat-theme=Google.accompanist.appCompatTheme
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ androidx.compose.runtime..runtime-livedata=version.androidx.compose.runtime
androidx.compose.runtime..runtime-rxjava2=version.androidx.compose.runtime
androidx.compose.runtime..runtime-rxjava3=version.androidx.compose.runtime
androidx.compose.runtime..runtime-saveable=version.androidx.compose.runtime
androidx.compose.runtime..runtime-tracing=version.androidx.compose.runtime
androidx.compose.runtime..runtime-tracing=version.androidx.compose.runtime-tracing
androidx.compose.runtime..runtime=version.androidx.compose.runtime
androidx.compose.ui..ui-geometry=version.androidx.compose.ui
androidx.compose.ui..ui-graphics=version.androidx.compose.ui
Expand Down Expand Up @@ -362,6 +362,23 @@ com.apollographql.apollo3..apollo-normalized-cache-sqlite=version.apollographql
com.apollographql.apollo3..apollo-normalized-cache=version.apollographql
com.apollographql.apollo3..apollo-runtime=version.apollographql
com.apollographql.apollo3..apollo-testing-support=version.apollographql
com.github.bumptech.glide..annotations=version.bumptech.glide
com.github.bumptech.glide..avif-integration=version.bumptech.glide
com.github.bumptech.glide..compiler=version.bumptech.glide
com.github.bumptech.glide..compose=version.bumptech.glide.compose
com.github.bumptech.glide..concurrent-integration=version.bumptech.glide
com.github.bumptech.glide..cronet-integration=version.bumptech.glide
com.github.bumptech.glide..disklrucache=version.bumptech.glide
com.github.bumptech.glide..gifdecoder=version.bumptech.glide
com.github.bumptech.glide..gifencoder-integration=version.bumptech.glide
com.github.bumptech.glide..glide=version.bumptech.glide
com.github.bumptech.glide..ksp=version.bumptech.glide
com.github.bumptech.glide..ktx=version.bumptech.glide.ktx
com.github.bumptech.glide..mocks=version.bumptech.glide
com.github.bumptech.glide..okhttp-integration=version.bumptech.glide
com.github.bumptech.glide..okhttp3-integration=version.bumptech.glide
com.github.bumptech.glide..recyclerview-integration=version.bumptech.glide
com.github.bumptech.glide..volley-integration=version.bumptech.glide
com.github.chuckerteam.chucker..library-no-op=version.chucker
com.github.chuckerteam.chucker..library=version.chucker
com.google.accompanist..accompanist-appcompat-theme=version.google.accompanist
Expand Down