Skip to content

Commit 357c8cd

Browse files
committed
Upgrade to Java 21
1 parent 6ba295d commit 357c8cd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
steps:
2424
- name: Checkout source
2525
uses: actions/checkout@v3
26-
- name: Set up JDK 17
26+
- name: Set up JDK 21
2727
uses: actions/setup-java@v3
2828
with:
29-
java-version: '17'
29+
java-version: '21'
3030
distribution: 'temurin'
3131
- name: Build with Maven
3232
run: $MAVEN clean verify

docs/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ testing
6060

6161
### Build and run
6262

63-
This project requires Java 17. Note that higher version of Java have not been
63+
This project requires Java 21. Note that higher version of Java have not been
6464
verified and may run into unexpected issues.
6565

6666
Run `./mvnw clean install` to build `trino-gateway`. VM options required for

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
<properties>
4040
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4141
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42-
<project.build.targetJdk>17</project.build.targetJdk>
42+
<project.build.targetJdk>21</project.build.targetJdk>
4343

44-
<air.java.version>17</air.java.version>
44+
<air.java.version>21</air.java.version>
4545
<air.check.skip-enforcer>true</air.check.skip-enforcer>
4646
<air.check.skip-dependency>true</air.check.skip-dependency>
4747
<air.check.skip-duplicate-finder>true</air.check.skip-duplicate-finder>

0 commit comments

Comments
 (0)