Skip to content

Commit 7519957

Browse files
authored
Upgrade project to Java 23 (#298)
1 parent b2187fb commit 7519957

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/unit-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/setup-java@v4
3434
with:
3535
distribution: temurin
36-
java-version: 22
36+
java-version: 23
3737

3838
- name: Setup project and upload dependency graph
3939
uses: gradle/actions/setup-gradle@v4

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ARG LIBWEBP_SHA256=94ac053be5f8cb47a493d7a56b2b1b7328bab9cff24ecb89fa642284330d8
88

99
WORKDIR /app
1010
RUN curl "$LIBWEBP_URL" -o libwebp.tar.gz && \
11-
echo "$LIBWEBP_SHA256 libwebp.tar.gz" | sha256sum -c - && \
11+
echo "$LIBWEBP_SHA256 libwebp.tar.gz" | sha256sum -c - && \
1212
tar -xzf libwebp.tar.gz --one-top-level=libwebp --strip-components=1
1313
COPY settings.gradle build.gradle gradlew ./
1414
COPY gradle ./gradle

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ And it's done!
5555

5656
## How to set up the project
5757

58-
1. Install JDK 22 (or higher)
58+
1. Install JDK 23 (or higher)
5959
2. Clone the project and move into its folder
6060
3. Run the command `./gradlew build -x test`
6161
4. Import the project inside your IDE as a Gradle project
62-
5. Ensure your IDE is correctly configured to use a Java 22 (or higher) JDK
62+
5. Ensure your IDE is correctly configured to use a Java 23 (or higher) JDK
6363

6464
## How to run the bot locally
6565

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ description = 'Telegram bot to convert medias in the format required to be used
6060

6161
java {
6262
toolchain {
63-
languageVersion = JavaLanguageVersion.of(22)
63+
languageVersion = JavaLanguageVersion.of(23)
6464
}
6565
}
6666

qodana.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ profile:
33
name: qodana.recommended
44
include:
55
- name: VulnerableLibrariesGlobal
6-
linter: jetbrains/qodana-jvm:latest
7-
projectJDK: temurin-22
6+
linter: jetbrains/qodana-jvm:2024.2
7+
projectJDK: temurin-23

0 commit comments

Comments
 (0)