Skip to content

Commit

Permalink
Run shrinker-test for JDK 21 CI build (google#2570)
Browse files Browse the repository at this point in the history
The latest R8 version seems to support JDK 21 now.
  • Loading branch information
Marcono1234 authored Dec 6, 2023
1 parent e69bb5f commit b5bc7b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
include:
- java: 21
# Disable Enforcer check which (intentionally) prevents using JDK 21 for building
# Exclude 'shrinker-test' module because R8 does not support JDK 21 yet
extra-mvn-args: -Denforcer.fail=false --projects '!:shrinker-test'
extra-mvn-args: -Denforcer.fail=false
runs-on: ubuntu-latest

steps:
Expand Down
1 change: 0 additions & 1 deletion shrinker-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@
but it appears that can be ignored -->
<groupId>com.android.tools</groupId>
<artifactId>r8</artifactId>
<!-- TODO: When updating to a version which supports JDK 21, remove 'shrinker-test' exclusion from build.yml workflow -->
<version>8.2.33</version>
</dependency>
</dependencies>
Expand Down

0 comments on commit b5bc7b9

Please sign in to comment.