Skip to content

Commit 16715a8

Browse files
authored
Update for JDK 17 (#801)
Build with JDK 17 in CI Update Readme Link to Java 17 API
1 parent 78c1c02 commit 16715a8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242

4343
- uses: actions/setup-java@v3
4444
with:
45-
java-version: 11
46-
distribution: 'zulu'
45+
java-version: 17
46+
distribution: 'temurin'
4747
architecture: ${{ matrix.architecture }}
4848

4949
- name: Install dependencies
@@ -91,8 +91,8 @@ jobs:
9191

9292
- uses: actions/setup-java@v3
9393
with:
94-
java-version: 11
95-
distribution: 'zulu'
94+
java-version: 17
95+
distribution: 'temurin'
9696

9797
- uses: actions/download-artifact@v3
9898
with:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ It can also be run manually by running the shuffleboard.vbs in `c:\Users\public\
1616
shuffleboard.py in `~/wpilib/<year>/tools` (Linux or Mac).
1717

1818
### Requirements
19-
- [JRE 11](https://adoptopenjdk.net/). Java 11 is required.
20-
No other version of Java is supported. Java 11 is installed by the
19+
- [JRE 17](https://adoptium.net/temurin/releases/?version=17&package=jre). Java 17 is required.
20+
No other version of Java is supported. Java 17 is installed by the
2121
[WPILib installer](https://github.com/wpilibsuite/allwpilib/releases).
2222

2323
## Building
@@ -41,5 +41,5 @@ Only the listed platforms are supported
4141
To build _all_ platform-specific JARs at once, use the command `./gradlew :app:shadowJarAllPlatforms`
4242

4343
### Requirements
44-
- [JDK 11](https://adoptopenjdk.net/). JDK 11 is required.
44+
- [JDK 17](https://adoptium.net/temurin/releases/?version=17). JDK 17 is required.
4545
No other version of Java is supported.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ allprojects {
190190

191191
tasks.withType(Javadoc) {
192192
options.encoding = "UTF-8"
193-
options.links 'https://docs.oracle.com/en/java/javase/11/docs/api/'
193+
options.links 'https://docs.oracle.com/en/java/javase/17/docs/api/'
194194
options.tags(
195195
'implSpec:a:Implementation Requirements:',
196196
'implNote:a:Implementation Note:'

0 commit comments

Comments
 (0)