Skip to content

Commit d189634

Browse files
authored
upgrade java to 21 (#972)
1 parent ee731ee commit d189634

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

.github/workflows/basic-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Basic checks
33
on: [pull_request]
44

55
env:
6-
JAVA_VERSION: 20
6+
JAVA_VERSION: 21
77

88
jobs:
99
spotless:

.github/workflows/code-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- cron: '0 20 * * 4'
99

1010
env:
11-
JAVA_VERSION: 20
11+
JAVA_VERSION: 21
1212

1313
jobs:
1414
sonar:

.github/workflows/docker-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- 'master'
88

99
env:
10-
JAVA_VERSION: 20
10+
JAVA_VERSION: 21
1111

1212
jobs:
1313
docker:

.github/workflows/docker-verify.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Docker Verify
33
on: [pull_request]
44

55
env:
6-
JAVA_VERSION: 20
6+
JAVA_VERSION: 21
77

88
jobs:
99
docker:

.github/workflows/releases.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defaults:
1010
shell: bash
1111

1212
env:
13-
JAVA_VERSION: 20
13+
JAVA_VERSION: 21
1414

1515
jobs:
1616

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# TJ-Bot
22

33
[![codefactor](https://img.shields.io/codefactor/grade/github/together-java/tj-bot)](https://www.codefactor.io/repository/github/together-java/tj-bot)
4-
![Java](https://img.shields.io/badge/Java-20-ff696c)
4+
![Java](https://img.shields.io/badge/Java-21-ff696c)
55
[![license](https://img.shields.io/github/license/Together-Java/TJ-Bot)](https://github.com/Together-Java/TJ-Bot/blob/master/LICENSE)
66
![GitHub release (latest by date)](https://img.shields.io/github/v/release/Together-Java/TJ-Bot?label=release)
77

application/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repositories {
1818
var outputImage = 'togetherjava.org:5001/togetherjava/tjbot:' + System.getenv('BRANCH_NAME') ?: 'latest'
1919

2020
jib {
21-
from.image = 'eclipse-temurin:20'
21+
from.image = 'eclipse-temurin:21'
2222
to {
2323
image = outputImage
2424
auth {

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ subprojects {
6565
options.encoding = 'UTF-8'
6666

6767
// Nails the Java-Version of every Subproject
68-
sourceCompatibility = JavaVersion.VERSION_20
69-
targetCompatibility = JavaVersion.VERSION_20
68+
sourceCompatibility = JavaVersion.VERSION_21
69+
targetCompatibility = JavaVersion.VERSION_21
7070
}
7171

7272
compileJava(compileTasks)

0 commit comments

Comments
 (0)