Skip to content

Commit 55c239c

Browse files
committed
Upgrade to Java 21
1 parent 07306fa commit 55c239c

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v4
25-
- name: Set up JDK 17
25+
- name: Set up JDK 21
2626
uses: actions/setup-java@v4
2727
with:
28-
java-version: '17'
28+
java-version: '21'
2929
distribution: 'temurin'
3030

3131
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
@@ -55,10 +55,10 @@ jobs:
5555

5656
steps:
5757
- uses: actions/checkout@v4
58-
- name: Set up JDK 17
58+
- name: Set up JDK 21
5959
uses: actions/setup-java@v4
6060
with:
61-
java-version: '17'
61+
java-version: '21'
6262
distribution: 'temurin'
6363

6464
# Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies.

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ group = 'com.bileto'
99
version = '0.0.0-SNAPSHOT'
1010

1111
java {
12-
sourceCompatibility = JavaVersion.VERSION_17
13-
targetCompatibility = JavaVersion.VERSION_17
12+
sourceCompatibility = JavaVersion.VERSION_21
13+
targetCompatibility = JavaVersion.VERSION_21
1414
}
1515

1616
repositories {

0 commit comments

Comments
 (0)