Skip to content

Commit

Permalink
Add an updated gradle plugin to compile on Java 17. (#5185)
Browse files Browse the repository at this point in the history
Related to #5003. This at least lets Glide compile on Java 17. I'm not
sure if it has any down stream impact on users of Glide.
  • Loading branch information
sjudd authored Jul 2, 2023
1 parent 8d74621 commit 928c8dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'zulu'
- uses: gradle/gradle-build-action@v2
- name: Build and run unit tests with Gradle
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ buildscript {
classpath libs.ksp.gradle
classpath libs.coroutines.binarycompat.gradle
classpath libs.dokka.gradle
classpath 'com.guardsquare:proguard-gradle:' + (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11) ? '7.3.2' : '7.1.0')
}
}

Expand Down

0 comments on commit 928c8dc

Please sign in to comment.