Skip to content

Commit 611b86c

Browse files
committed
upgrade project to java 24
1 parent ef1d052 commit 611b86c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
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: 23
36+
java-version: 24
3737

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

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 23 (or higher)
58+
1. Install JDK 24 (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 23 (or higher) JDK
62+
5. Ensure your IDE is correctly configured to use a Java 24 (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
@@ -44,7 +44,7 @@ description = 'Telegram bot to convert medias in the format required to be used
4444

4545
java {
4646
toolchain {
47-
languageVersion = JavaLanguageVersion.of(23)
47+
languageVersion = JavaLanguageVersion.of(24)
4848
}
4949
}
5050

qodana.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ include:
55
- name: VulnerableLibrariesGlobal
66
# bump: qodana /qodana-jvm:([\d.]+)/ docker:jetbrains/qodana-jvm|/^[\d]{4}\.\d+$/|sort
77
linter: jetbrains/qodana-jvm:2025.1
8-
projectJDK: temurin-23
8+
projectJDK: temurin-24

0 commit comments

Comments
 (0)