Skip to content

Commit

Permalink
Use Java 17 instead of 16 in build (#521 / #536)
Browse files Browse the repository at this point in the history
Since this requires Gradle 7.3, this PR updates the Gradle wrapper
accordingly.

Closes: #521
PR: #536
  • Loading branch information
beatngu13 committed Nov 11, 2021
1 parent e669c33 commit cef3ef5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
java: [ 8, 11, 16 ]
java: [ 8, 11, 17 ]
junit-version: [ '5.7.2', '5.8.1' ]
modular: [true, false]
os: [ubuntu, macos, windows]
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
run: echo "JDK_EXPERIMENTAL=$JAVA_HOME" >> $GITHUB_ENV
- uses: actions/setup-java@v2
with:
java-version: 16
java-version: 17
distribution: temurin
cache: 'gradle'
- name: Gradle toolchains
Expand Down
2 changes: 1 addition & 1 deletion docs/cartesian-product.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Basic bit test
└─ 4 => first bit: 1 second bit: 1
----

Please note that name is a https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/text/MessageFormat.html::[`MessageFormat`] pattern.
Please note that name is a https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/text/MessageFormat.html::[`MessageFormat`] pattern.
A single quote (') needs to be represented as a doubled single quote ('') in order to be displayed.

`CartesianTest` supports the following placeholders in custom display names:
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit cef3ef5

Please sign in to comment.