Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
542 commits
Select commit Hold shift + click to select a range
b4ae9f3
Do not set requireOriginal on Android photo picker uris. (#5162)
phoenixli Jun 9, 2023
993e59d
Move androidx.test:core-ctx to a test dependency. (#5182)
sjudd Jul 1, 2023
3d6d038
Allow host app to provide a way to clear all resources onStop() (#5145)
osamaaftab Jul 1, 2023
32827dc
Switch Glide's dependencies to a version catalog. (#5183)
sjudd Jul 2, 2023
8d74621
Remove jetifier from Glide. (#5184)
sjudd Jul 2, 2023
928c8dc
Add an updated gradle plugin to compile on Java 17. (#5185)
sjudd Jul 2, 2023
12a68f1
Configure Renovate (#5186)
renovate[bot] Jul 2, 2023
e189422
Update androidx-benchmark to v1.1.1
renovate[bot] Jul 2, 2023
127c8a0
Update dependency androidx.test.ext:junit to v1.1.5
renovate[bot] Jul 2, 2023
c9ebe0c
Update dependency androidx.exifinterface:exifinterface to v1.3.6 (#5188)
renovate[bot] Jul 2, 2023
d8414da
Update dependency androidx.test.ext:junit-ktx to v1.1.5 (#5189)
renovate[bot] Jul 2, 2023
7dd3294
use read images/video permissions on 33+ in gallery sample
sjudd Jul 2, 2023
ec665ee
Update dagger to use androidx in Imgur sample and update ci tests
sjudd Jul 3, 2023
a4a23fa
Update annotations to 1.5.0, disable renovate for annotatins/fragment.
sjudd Jul 3, 2023
f4baae1
Fix renovate config.
sjudd Jul 3, 2023
ddddbc1
Create renovate-config-validation.yml
sjudd Jul 3, 2023
b80e28c
Use onIdle to avoid a race in FlowTests
sjudd Jul 2, 2023
00251a5
Update compose to v1.4.3
renovate[bot] Jul 3, 2023
19dfef8
Move size resolution from GlideImage to GlidePainter
sjudd Jul 2, 2023
25b4895
Add ksp and kotlin-compiler-extension versions to settings.gradle
sjudd Jul 3, 2023
cae63cc
Fix appcompat version to < 1.4
sjudd Jul 4, 2023
67d6067
Update dependency org.aomedia.avif.android:avif to v0.11.1.647c3c2
renovate[bot] Jul 4, 2023
f78da0b
Update suzuki-shunsuke/github-action-renovate-config-validator action…
renovate[bot] Jul 4, 2023
e9b8758
Introduce a constant for Robolectric tests using sdk = 18.
brettchabot Jul 6, 2023
fd96de2
Increment ROBOLECTRIC_SDK to 19 from 18.
brettchabot Jul 7, 2023
ce2f495
Add @RequiresPermission to NotificationTarget
TWiStErRob Jul 26, 2023
8c058c1
Remove unused <uses-sdk android:minSdkVersion="..." />
TWiStErRob Jul 26, 2023
4382fff
Remove empty <application /> nodes from manifest.
TWiStErRob Jul 26, 2023
9e0efec
Remove unused manifest file.
TWiStErRob Jul 26, 2023
ef9f0b3
Add missing `<?xml version="1.0" encoding="utf-8"?>` in all AndroidMa…
TWiStErRob Jul 26, 2023
49ddc01
Ensure one new line at end of modified files.
TWiStErRob Jul 26, 2023
401d7e5
Migrate <manifest package="..." in AndroidManifest.xml to namespace '…
TWiStErRob Jul 26, 2023
0b62103
Remove empty AndroidManifest.xml files.
TWiStErRob Jul 26, 2023
8f6d645
Add a isEquivalentTo method to correctly check equality
mori-atsushi Aug 7, 2023
60b567e
Remove GlidePainter in favor of Modifier nodes / Flows
sjudd Jul 2, 2023
cb2b1dc
Replace flows in GlideSubcomposition with a listener on GlideNode
sjudd Aug 15, 2023
d10c5ff
Add a Transition API and a CrossFade Transition for Compose
sjudd Aug 13, 2023
b329401
Influence layout using intrinsics in GlideNode
sjudd Aug 20, 2023
5d2fb67
Clean up some duplicate size logic in GlideModifier.
sjudd Aug 21, 2023
0138465
Bump version to 4.16.0 / alpha5
sjudd Aug 21, 2023
2ae4eff
Bump versions to 5.0.0-SNAPSHOT
sjudd Aug 21, 2023
9bfbf25
Add emulator tests run on Github Actions
sjudd Jul 9, 2023
ed5b09a
Increase timeout seconds in ConcurrencyHelper
sjudd Aug 20, 2023
44d6aa1
Update coroutines to v1.7.3
renovate[bot] Aug 21, 2023
65543f8
Update dependency com.android.volley:volley to v1.2.1
renovate[bot] Aug 21, 2023
62789a8
Update dependency com.google.android.gms:play-services-cronet to v17.0.1
renovate[bot] Aug 21, 2023
926d4fb
Update dependency com.google.truth:truth to v1.1.5
renovate[bot] Aug 22, 2023
33bbb21
Update dagger to v2.47
renovate[bot] Aug 22, 2023
cf95b65
Update dependency androidx.compose.material:material to v1.5.0
renovate[bot] Aug 22, 2023
a057dfe
Update dependency org.aomedia.avif.android:avif to v0.11.1.647c3c2
renovate[bot] Aug 22, 2023
e5479dc
Update dependency androidx.test:core-ktx to v1.5.0
renovate[bot] Aug 23, 2023
eaad723
Update dependency gradle to v7.6.2
renovate[bot] Aug 23, 2023
b4a0483
Update dependency io.reactivex:rxjava to v1.3.8
renovate[bot] Aug 23, 2023
7583df0
Revert "Increase timeout seconds in ConcurrencyHelper"
sjudd Aug 24, 2023
4db0b30
Revert "Add emulator tests run on Github Actions"
sjudd Aug 24, 2023
af0d631
Avoid modifying constraints when a scale factor can't be computed
sjudd Aug 24, 2023
e94916e
Fix drawables not animating via a custom DrawablePainter
sjudd Sep 2, 2023
6ff7f32
Add a goldens based test utility for compose
sjudd Sep 2, 2023
3472f80
Avoid duplicating Modifiers in GlideModifer
sjudd Sep 3, 2023
cbdc1e7
Add device attribtues to golden file names
sjudd Sep 3, 2023
06fc8f6
Finish animation ignoring cancellation.
kanelbulle Sep 14, 2023
46eb731
Update Glide to java 8, AGP to 8.1.0
sjudd Sep 4, 2023
c6960d3
Update dependency androidx.recyclerview:recyclerview to v1.3.1
renovate[bot] Sep 19, 2023
69e2204
Upgrade to androix fragment 1.6.1
sjudd Sep 19, 2023
bd2a519
Update Checkstyle to 8.45.1
sjudd Sep 19, 2023
fe3b912
Update disklrucache checkstyle to 6.19
sjudd Sep 25, 2023
12c86e9
Update compile sdk to 34, androidx core to 1.12.0
sjudd Sep 25, 2023
efc56f8
Remove custom MediaMetadataRetriever shadow in GlideTest
hoisie Sep 24, 2023
e8d10fc
Update to AGP 8.1.1
sjudd Sep 26, 2023
9809d98
Add a Painter variant of the placeholder APIs
sjudd Sep 26, 2023
05d3465
Update dependency androidx.compose.material:material to v1.5.1
renovate[bot] Sep 26, 2023
b3fd2bc
Bump version to 5 RC01, 1.0 beta01
sjudd Sep 26, 2023
f0d2b16
Set versions to next snapshot
sjudd Sep 30, 2023
1863e67
Only log duplicate library modules if there actually are duplicates
sjudd Sep 30, 2023
b1c6076
Avoid drawing placeholder when it shouldn't be used
sjudd Oct 2, 2023
75599b7
Fix BitmapPoolAdapter outdated JavaDoc
TWiStErRob Oct 10, 2023
c06a85d
Make Placeholder a type that can be convered to Painter
sjudd Oct 2, 2023
3bbc390
avif: Use the correct bucket for GlideModule
vigneshvg Nov 7, 2023
e77562a
Update TransformationUtils#rotateImageExif to preserve gainmap and co…
falhassen Nov 16, 2023
17620f5
Fix config migration warning
TWiStErRob Jan 13, 2024
35bf5a5
Help Renovate understand the repo regarding semantic commits
TWiStErRob Jan 13, 2024
e85c765
fgrep: warning: fgrep is obsolescent; using grep -F
Rustmilian Jan 11, 2024
8ca2db2
Add workaround for AOSP bug with decoding single channel hardware gai…
falhassen Jan 23, 2024
fcace5b
Fix broken DownsamplerEmulatorTest due to class-not-found regression
falhassen Feb 2, 2024
193cf61
Clean up preserveGainmapAndColorSpaceForTransformations flag
falhassen Feb 3, 2024
651d796
Support multiple level inheritance for lib and app modules in case of…
0xnm Dec 28, 2023
bafbf41
Ignore rather than crash on duplicate requests in GlideModifier
sjudd Oct 17, 2023
526a0ab
Clean up setEnableHardwareGainmapFixOnU flag
falhassen Mar 20, 2024
acced70
Update dependency androidx.annotation:annotation to v1.7.1
renovate[bot] Mar 29, 2024
a7351b0
Avoid referencing resource names within Resource Loader
benjaminRomano Apr 27, 2024
a98b301
GifDrawable: Call stop before notifying end to listeners
vigneshvg Sep 24, 2024
ca394b1
Fix logging time in JournaledLruDiskCache.java
kluever Oct 14, 2024
9c9f56f
avif: Update avif dependency to latest version
vigneshvg Nov 19, 2024
484366a
Only attempt working around Android U gainmap decoding issues for ima…
falhassen Feb 3, 2025
bfae3d8
Address comments for PR #5475
falhassen Feb 13, 2025
c9cc739
Fix `OfResourceId` to allow all Drawable types.
donaldchai Apr 3, 2025
371d103
Fall back to "loading" placeholder when all else fails.
donaldchai Apr 6, 2025
0d8daa1
Make it an error to use placeholders of Composeables.
donaldchai Apr 7, 2025
5cfcb31
Avoid NaN when Constraints are zero (but non-fixed size).
donaldchai Apr 11, 2025
fe41f65
Rollback integration/{compose,ktx}/{src,api}/ to 00251a547
donaldchai May 14, 2025
445de30
Clean up Robolectric @Config for CustomViewTargetTest.
donaldchai May 20, 2025
79a41c6
Run the java formatter on Glide's sqljournaldiskcache integration lib…
falhassen Apr 3, 2023
c10e0c6
No public description
falhassen Apr 26, 2023
05a4a31
No public description
falhassen Jul 7, 2023
d5163b1
No public description
falhassen Jul 17, 2023
73f345b
No public description
falhassen Jul 18, 2023
7ca1603
Upgrade to use Gradle 8.4
falhassen Oct 31, 2023
f23e866
No public description
vigneshvg Nov 8, 2023
741cec7
No public description
falhassen Dec 28, 2023
5a149d1
No public description
falhassen Feb 2, 2024
94f4dd8
No public description
falhassen Feb 14, 2024
0c419e1
No public description
falhassen Mar 21, 2024
764ba25
No public description
falhassen Apr 2, 2024
46a3b10
No public description
falhassen Apr 19, 2024
459a98f
No public description
vigneshvg Sep 25, 2024
d676df6
No public description
falhassen Nov 27, 2024
b619254
No public description
falhassen Feb 14, 2025
447e30d
No public description
falhassen Feb 14, 2025
1723a71
No public description
dx404 Mar 10, 2025
d550965
No public description
falhassen Mar 27, 2025
088d6b7
No public description
falhassen Mar 27, 2025
00fcc48
No public description
falhassen Mar 27, 2025
5f88e66
No public description
falhassen Mar 27, 2025
45d2907
No public description
falhassen Mar 27, 2025
2b20ca4
No public description
falhassen Mar 27, 2025
41b2f90
No public description
falhassen Mar 27, 2025
661ca91
No public description
falhassen Mar 27, 2025
589b519
No public description
falhassen Mar 28, 2025
38cf725
No public description
falhassen Mar 28, 2025
b799f6a
No public description
falhassen Mar 28, 2025
cd0ad83
No public description
falhassen Mar 28, 2025
4b61873
No public description
falhassen Mar 28, 2025
00026e8
No public description
falhassen Mar 28, 2025
b4c6593
No public description
falhassen Mar 28, 2025
2a29148
No public description
falhassen Mar 28, 2025
8098c4d
No public description
falhassen Mar 28, 2025
6522c2e
No public description
falhassen Mar 28, 2025
439cd7d
No public description
falhassen Mar 28, 2025
33ec9d7
No public description
falhassen Mar 28, 2025
510d689
No public description
falhassen Mar 28, 2025
f14bac1
No public description
falhassen Apr 1, 2025
11c2172
No public description
falhassen Apr 2, 2025
7ed6cb3
No public description
falhassen Apr 7, 2025
c86a012
No public description
falhassen Apr 8, 2025
9d6f531
No public description
falhassen Apr 14, 2025
9afcbe5
No public description
falhassen May 15, 2025
5775b44
Internal change
falhassen May 23, 2025
1a39132
Rolling back "Migrate `@AutoService` use in Kotlin to `@MetaInfServic…
falhassen May 27, 2025
cbdaa9c
Update dagger to v2.56.2 (#5518)
renovate[bot] May 27, 2025
1e4287e
Update dependency com.caverock:androidsvg to v1.4 (#5519)
renovate[bot] May 27, 2025
3c2d3c6
Simple commit to enable automation: PiperOrigin-RevId: 759356293
falhassen May 31, 2025
fa199a8
Internal change
falhassen Jun 2, 2025
8a23b1e
Update test to set display size at config time, rather than during th…
falhassen Jun 3, 2025
15e87e0
Allow for modification of OS thread priority for Glide threads via Gl…
falhassen Jun 12, 2025
81f3097
Make test resilient to SDK version chosen for Robolectric
falhassen Jun 12, 2025
350e02d
Stop setting SDK_INT. This isn't how Android nor Robolectric works.
falhassen Jun 12, 2025
b60e391
Add experimental API so that the onResourceReady callback will post t…
falhassen Jun 13, 2025
8429c86
Document IllegalArgumentExceptions thrown by various Glide.with methods.
falhassen Jun 13, 2025
10c7a11
Automated Code Change
falhassen Jun 18, 2025
07973c6
Change the buffer size used for Cronet BufferQueue from 8096 to 16384
falhassen Jul 7, 2025
eb1a33a
Improve: Animatable lifecycle management.
falhassen Jul 8, 2025
2d913f9
Implement a new experiment for using MediaStore.openAssetFileDescriptor
falhassen Jul 11, 2025
16c12ba
Implement a new experiment for using MediaStore.openAssetFileDescriptor
sumitbhagwani Jul 12, 2025
a1db501
Implement a new experiment for using MediaStore.openAssetFileDescriptor
falhassen Jul 18, 2025
6210f33
No public description
cpovirk Jul 21, 2025
67f78a8
When `onForgotten` is called, the `GlidePainter` was not clearing its…
falhassen Aug 11, 2025
04103c5
GlideUrl fix for urls with IPV6 addresses
bennettpeter Sep 5, 2024
8eaae21
Added test for issue 5444, IPV6 URL problem
bennettpeter Oct 2, 2024
900f060
Adding a preliminary version of a Kotlin-DSL style Maven publication …
falhassen Aug 21, 2025
b698d53
This PR removes `jarjar` from Glide, and removes the outdated Java 1.…
falhassen Aug 23, 2025
e6167df
Avoid returning null in rootCauses.
kanelbulle Aug 26, 2025
9c79263
Updating numerous dependencies in order to be able to apply the Maven…
falhassen Aug 27, 2025
037af58
Update dependency com.google.auto.service:auto-service to v1.1.1
renovate[bot] Aug 27, 2025
b7ea90c
Updating several dependencies and Maven Central publishing script in …
falhassen Aug 27, 2025
c2daf65
Creating a Github Actions workflow file to manually test the new Mave…
falhassen Aug 28, 2025
6910052
Adding two more environment variables to properly apply publishing pl…
falhassen Aug 28, 2025
e378858
Removing publish command for a module that doesn't exist - got accide…
falhassen Aug 28, 2025
416c8d3
Bump version to 5.0.0 rc02 (#5574)
falhassen Aug 29, 2025
b51f26d
Bump version to 5.0.0-rc04 (#5576)
falhassen Aug 29, 2025
98d41b4
Bump Compose and KTX versions to 1.0.0-beta3
falhassen Aug 30, 2025
a24db15
Bump version to 5.0.0-rc05 (#5578)
falhassen Aug 30, 2025
ba3e317
Fix publishing script to include third_party modules and bump compose…
falhassen Aug 31, 2025
29407bc
Bump version to 5.0.1 (#5585)
falhassen Aug 31, 2025
ae65f75
Fix missing third_party prefix and remove gifencoder (#5587)
falhassen Aug 31, 2025
66b4cc1
Bump version to 5.0.2 (#5588)
falhassen Aug 31, 2025
d058d62
Fix gif_decoder publishing dep and Bump compose and ktx (#5589)
falhassen Aug 31, 2025
115f127
Bump version to 5.0.3 (#5590)
falhassen Aug 31, 2025
a6b0e52
Add missing annotation:compiler publish and bump compose and ktx vers…
falhassen Sep 1, 2025
0b79e00
Bump version to 5.0.4 (#5593)
falhassen Sep 1, 2025
73c09ca
Revert unintentional changes commit that undid GlideUrl fix for urls …
falhassen Sep 10, 2025
4ca1b39
Mark into(target, targetListener, callbackExecutor) public.
falhassen Sep 11, 2025
8ea0935
Bump ktx and compose versions to 1.0.0-beta08 (#5606)
falhassen Sep 12, 2025
ebbf7e2
Bump version to 5.0.5 (#5607)
falhassen Sep 12, 2025
95dc494
Add an experimental method to GlideExecutor.Builder to optionally add…
falhassen Sep 17, 2025
03fb909
Updating workflow scripts to be better integrated with GitHub Actions…
falhassen Sep 19, 2025
2f55cce
Removing outdated upload + CI scripts from the repository.
falhassen Sep 19, 2025
603357c
Fix deadlock in SingleRequest.clear by using the Engine as the reques…
falhassen Oct 10, 2025
2ccb524
Rolling SingleRequest.clear lock fix due to triggering a different ANR.
falhassen Oct 11, 2025
d52de59
Migrating version catalog to the TOML format + rewriting the main `se…
falhassen Oct 16, 2025
88c7578
Adding `ktfmt` plugin for Kotlin formatting and running it for the fi…
falhassen Oct 23, 2025
777b8b5
Moving hardcoded versions away from the `[libraries]` to `[versions]`…
falhassen Oct 24, 2025
37a9550
Rewriting some of the smaller Gradle build files in Kotlin DSL.
falhassen Oct 31, 2025
1991dd9
Migrate from Robolectric's Util.readBytes to Guava ByteStreams
hoisie Oct 31, 2025
5e15812
Converting a second set of Groovy Gradle files to Kotlin DSL.
falhassen Nov 7, 2025
d591539
Allow limiting the size of LruBitmapPool/MemoryCache when in background
falhassen Jan 6, 2026
82657e9
No public description
falhassen Jan 6, 2026
b12f574
Allow limiting the size of LruBitmapPool/MemoryCache when in background
falhassen Jan 14, 2026
d4278e0
Bump Gradle to 8.14.4.
cpovirk Feb 19, 2026
03ab8ba
A trim level of TRIM_MEMORY_UI_HIDDEN is applicable to a process with…
falhassen Apr 3, 2026
c0a2dd4
Stop appending requireOriginal to URIs loaded by Glide on Android R+
falhassen Apr 7, 2026
c17a83c
Update isAndroidPickerUri to support new picker URI variations
falhassen Apr 7, 2026
91f33f0
Bump ktx and compose versions to 1.0.0-beta09 (#5672)
falhassen Apr 18, 2026
c751c28
Bump to 5.0.7 (#5673)
falhassen Apr 19, 2026
5ce766b
Automated Code Change
cushon Apr 29, 2026
ded830f
Fix unbounded bitmap allocations in Glide ImageDecoder.
falhassen May 8, 2026
4c5d4e0
Fix ksp2 reproducibility (#5657)
Hamza417 May 12, 2026
57320fb
This seems like a minor style issue, but actually, this is breaking G…
falhassen May 12, 2026
4970cbc
Fix AccessorMethodGeneration and RedundantFieldInitializer PMD violat…
falhassen May 12, 2026
46b550c
Restore commit #5657
falhassen May 15, 2026
2ac1e78
Upgrade Glide build system to Gradle 9.4.1, AGP 8.8.0, and Kotlin/KSP…
falhassen May 25, 2026
6854bf4
Causes Glide build issues, including https://github.com/bumptech/glid…
falhassen May 25, 2026
6769e76
Upgrade Glide build system to Gradle 9.4.1, AGP 8.8.0, and Kotlin/KSP…
falhassen Jun 2, 2026
1b682af
Given that Glide depends on AndroidX, which has a minimum SDK level o…
falhassen Jun 5, 2026
aa6fd90
Bump Glide compileSdkVersion to 37 and Robolectric to 4.16.1
falhassen Jun 10, 2026
7b6ea2a
Add ImageDecoder ByteBuffer allocation via ArrayPool.
falhassen Jun 10, 2026
ada9aaf
Add a setting for disabling disk cache path name memoization.
falhassen Jun 18, 2026
9cbc811
Add HEIF/HEIC format detection to DefaultImageHeaderParser.
falhassen Jun 18, 2026
089b215
Add debug logging for Glide bitmap memory tracking.
falhassen Jun 22, 2026
fcc50dd
Fix resource leak in ByteBufferUtil.fromStream by ensuring all buffer…
falhassen Jun 22, 2026
4868c04
Fix OOMs and ANRs when ArrayPool is enabled in Glide ImageDecoder by …
falhassen Jun 25, 2026
73ccb25
Update tests to run on API 24.
falhassen Jun 26, 2026
b156dd2
none
falhassen Jun 26, 2026
6e38ddd
No public description
cpovirk Jul 2, 2026
324546e
Implement UriBitmapImageDecoderResourceDecoder in Glide to allow dire…
falhassen Jul 4, 2026
3745a4a
Support direct memory decoding for byte buffers and arrays without st…
falhassen Jul 7, 2026
93b4f47
Bump ktx and compose versions to 1.0.0-beta09 and release to 5.0.8 (#…
falhassen Jul 11, 2026
b5b428b
Bump ktx and compose versions to 1.0.0-beta10, 5.0.9 version, POM dev…
falhassen Jul 11, 2026
3f97347
Update Renovate automergeType to 'pr'.
falhassen Jul 13, 2026
688da5a
Add Downsampler option to bypass transformations for HARDWARE bitmaps.
falhassen Jul 15, 2026
e2b8593
Fix Javadoc compilation warnings and errors in Glide.
falhassen Aug 3, 2026
21954c8
Reject non-image URIs in UriBitmapImageDecoderResourceDecoder.
falhassen Aug 7, 2026
eb14a89
Make not memoizing path names the default for Glide disk cache.
falhassen Aug 13, 2026
31cb1a1
Update androidx.benchmark to v1.5.0-rc01
renovate[bot] Aug 13, 2026
36a7b2e
Merge pull request #5624 from bumptech:renovate/androidx.benchmark
glide-copybara-robot Aug 14, 2026
b6e8276
Update dagger to v2.60.1
renovate[bot] Aug 14, 2026
6792dd3
Merge pull request #5742 from bumptech:renovate/dagger
glide-copybara-robot Aug 17, 2026
060d5ca
Update dependency com.google.truth:truth to v1.4.5
renovate[bot] Aug 17, 2026
604c16f
Merge pull request #5629 from bumptech:renovate/truth
glide-copybara-robot Aug 17, 2026
db9f0b1
Update dependency androidx.appcompat:appcompat to v1.8.0
renovate[bot] Aug 17, 2026
bf4901d
Merge pull request #5746 from bumptech:renovate/androidx.appcompat
glide-copybara-robot Aug 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
64 changes: 48 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,53 @@ on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: '1.8'
- name: Build and run unit tests with Gradle
run: ./scripts/ci_unit.sh
- name: Publish to Sonatype
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'bumptech/glide' }}
run: ./gradlew uploadArchives -PNEXUS_USERNAME="${NEXUS_USERNAME}" -PNEXUS_PASSWORD="${NEXUS_PASSWORD}"
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "17"

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Run Gradle Build
run: |
./gradlew build \
-x :library:test:testDebugUnitTest \
:library:test:assembleDebugUnitTest \
-x :library:testDebugUnitTest \
:library:assembleDebugUnitTest \
-x :annotation:ksp:test:testDebugUnitTest \
:annotation:ksp:test:assembleDebugUnitTest \
-x :third_party:disklrucache:testDebugUnitTest \
:third_party:disklrucache:assembleDebugUnitTest \
-x :integration:cronet:testDebugUnitTest \
:integration:cronet:assembleDebugUnitTest \
-x :integration:gifencoder:testDebugUnitTest \
:integration:gifencoder:assembleDebugUnitTest \
-x :integration:ktx:testDebugUnitTest \
:integration:ktx:assembleDebugUnitTest \
-x :integration:concurrent:testDebugUnitTest \
:integration:concurrent:assembleDebugUnitTest \
-x :integration:volley:testDebugUnitTest \
:integration:volley:assembleDebugUnitTest \
-x :integration:sqljournaldiskcache:testDebugUnitTest \
:integration:sqljournaldiskcache:assembleDebugUnitTest \
-x :third_party:gif_decoder:testDebugUnitTest \
:third_party:gif_decoder:assembleDebugUnitTest \
:samples:flickr:build \
:samples:giphy:build \
:samples:contacturi:build \
:samples:gallery:build \
:samples:imgur:build \
:samples:svg:build \
:instrumentation:assembleAndroidTest \
:benchmark:assembleAndroidTest \
:glide:releaseJavadoc \
--parallel
10 changes: 0 additions & 10 deletions .github/workflows/gradle-wrapper-validation.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/publish-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish to Maven (manual)

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Make Gradle wrapper executable
run: chmod +x ./gradlew
- uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "17"
- name: Build and publish everything to Maven Central
# This can be improved in Gradle
run: ./gradlew :mocks:publishToMavenCentral :annotation:publishToMavenCentral :annotation:compiler:publishToMavenCentral :library:publishToMavenCentral :integration:sqljournaldiskcache:publishToMavenCentral :annotation:ksp:publishToMavenCentral :integration:recyclerview:publishToMavenCentral :integration:avif:publishToMavenCentral :integration:okhttp:publishToMavenCentral :integration:gifencoder:publishToMavenCentral :integration:ktx:publishToMavenCentral :integration:okhttp4:publishToMavenCentral :integration:volley:publishToMavenCentral :integration:concurrent:publishToMavenCentral :integration:cronet:publishToMavenCentral :integration:okhttp3:publishToMavenCentral :integration:compose:publishToMavenCentral :third_party:disklrucache:publishToMavenCentral :third_party:gif_decoder:publishToMavenCentral
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.MAVEN_SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.MAVEN_SIGNING_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.MAVEN_SIGNING_PRIVATE_KEY_PASSWORD }}
ORG_GRADLE_PROJECT_mavenCentralPublishing: true
ORG_GRADLE_PROJECT_mavenCentralAutomaticPublishing: false
38 changes: 7 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Glide
=====

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.bumptech.glide/glide/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.bumptech.glide/glide) [![Build Status](https://travis-ci.org/bumptech/glide.svg?branch=master)](https://travis-ci.org/bumptech/glide)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.bumptech.glide/glide/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.bumptech.glide/glide)
| [View Glide's documentation][20] | [简体中文文档][22] | [Report an issue with Glide][5]

Glide is a fast and efficient open source media management and image loading framework for Android that wraps media
Expand All @@ -26,13 +26,12 @@ Or use Gradle:

```gradle
repositories {
 google()
google()
mavenCentral()
}

dependencies {
 implementation 'com.github.bumptech.glide:glide:4.12.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
implementation 'com.github.bumptech.glide:glide:5.0.5'
}
```

Expand All @@ -42,38 +41,15 @@ Or Maven:
<dependency>
<groupId>com.github.bumptech.glide</groupId>
<artifactId>glide</artifactId>
<version>4.12.0</version>
</dependency>
<dependency>
<groupId>com.github.bumptech.glide</groupId>
<artifactId>compiler</artifactId>
<version>4.12.0</version>
<optional>true</optional>
<version>5.0.5</version>
</dependency>
```

For info on using the bleeding edge, see the [Snapshots][17] docs page.

ProGuard
R8 / Proguard
--------
Depending on your ProGuard (DexGuard) config and usage, you may need to include the following lines in your proguard.cfg (see the [Download and Setup docs page][25] for more details):

```pro
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep class * extends com.bumptech.glide.module.AppGlideModule {
<init>(...);
}
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
*** rewind();
}

# for DexGuard only
-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
```
The specific rules are [already bundled](library/proguard-rules.txt) into the aar which can be interpreted by R8 automatically

How do I use Glide?
-------------------
Expand All @@ -89,7 +65,7 @@ Simple use cases will look something like this:
...
ImageView imageView = (ImageView) findViewById(R.id.my_image_view);

Glide.with(this).load("http://goo.gl/gEgYUd").into(imageView);
Glide.with(this).load("https://goo.gl/gEgYUd").into(imageView);
}

// For a simple image list:
Expand Down
3 changes: 0 additions & 3 deletions annotation/build.gradle

This file was deleted.

10 changes: 10 additions & 0 deletions annotation/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
plugins {
id("java")
}

apply(from = "${rootProject.projectDir}/scripts/upload.gradle.kts")

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
93 changes: 0 additions & 93 deletions annotation/compiler/build.gradle

This file was deleted.

20 changes: 20 additions & 0 deletions annotation/compiler/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
plugins {
id("java")
}

dependencies {
implementation(libs.javapoet)
implementation(libs.guava)

compileOnly(libs.autoservice)
compileOnly(libs.findbugs.jsr305)

implementation(project(":annotation"))
annotationProcessor(libs.autoservice)
}

tasks.withType<Javadoc> {
isFailOnError = false
}

apply(from = "${rootProject.projectDir}/scripts/upload.gradle.kts")
Binary file removed annotation/compiler/libs/jarjar-1.4.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ final class ExtensionProcessor {
ExtensionProcessor(
ProcessingEnvironment processingEnvironment,
ProcessorUtil processorUtil,
IndexerGenerator indexerGenerator) {
IndexerGenerator indexerGenerator,
boolean useLegacyTypeComparison) {
this.processorUtil = processorUtil;
this.indexerGenerator = indexerGenerator;
extensionValidator = new GlideExtensionValidator(processingEnvironment, processorUtil);
extensionValidator =
new GlideExtensionValidator(processingEnvironment, processorUtil, useLegacyTypeComparison);
}

boolean processExtensions(RoundEnvironment env) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.bumptech.glide.annotation.GlideType;
import com.google.auto.service.AutoService;
import com.google.common.collect.ImmutableSet;
import java.util.HashSet;
import java.util.Set;
import javax.annotation.processing.AbstractProcessor;
Expand Down Expand Up @@ -62,11 +63,13 @@
@AutoService(Processor.class)
public final class GlideAnnotationProcessor extends AbstractProcessor {
static final boolean DEBUG = false;
private static final String USE_LEGACY_TYPE_COMPARISON_OPTION = "glide.useLegacyTypeComparison";
private ProcessorUtil processorUtil;
private LibraryModuleProcessor libraryModuleProcessor;
private AppModuleProcessor appModuleProcessor;
private boolean isGeneratedAppGlideModuleWritten;
private ExtensionProcessor extensionProcessor;
private boolean useLegacyTypeComparison;

@Override
public synchronized void init(ProcessingEnvironment processingEnvironment) {
Expand All @@ -75,8 +78,17 @@ public synchronized void init(ProcessingEnvironment processingEnvironment) {
IndexerGenerator indexerGenerator = new IndexerGenerator(processorUtil);
libraryModuleProcessor = new LibraryModuleProcessor(processorUtil, indexerGenerator);
appModuleProcessor = new AppModuleProcessor(processingEnvironment, processorUtil);
useLegacyTypeComparison =
Boolean.parseBoolean(
processingEnvironment.getOptions().get(USE_LEGACY_TYPE_COMPARISON_OPTION));
extensionProcessor =
new ExtensionProcessor(processingEnvironment, processorUtil, indexerGenerator);
new ExtensionProcessor(
processingEnvironment, processorUtil, indexerGenerator, useLegacyTypeComparison);
}

@Override
public Set<String> getSupportedOptions() {
return ImmutableSet.of(USE_LEGACY_TYPE_COMPARISON_OPTION);
}

@Override
Expand Down
Loading