diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index b19d7a1..451c703 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -33,7 +33,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: temurin - java-version: 22 + java-version: 23 - name: Setup project and upload dependency graph uses: gradle/actions/setup-gradle@v4 diff --git a/Dockerfile b/Dockerfile index 5710c12..74a0dac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ARG LIBWEBP_SHA256=94ac053be5f8cb47a493d7a56b2b1b7328bab9cff24ecb89fa642284330d8 WORKDIR /app RUN curl "$LIBWEBP_URL" -o libwebp.tar.gz && \ - echo "$LIBWEBP_SHA256 libwebp.tar.gz" | sha256sum -c - && \ + echo "$LIBWEBP_SHA256 libwebp.tar.gz" | sha256sum -c - && \ tar -xzf libwebp.tar.gz --one-top-level=libwebp --strip-components=1 COPY settings.gradle build.gradle gradlew ./ COPY gradle ./gradle diff --git a/README.md b/README.md index 4362894..179c95d 100644 --- a/README.md +++ b/README.md @@ -55,11 +55,11 @@ And it's done! ## How to set up the project -1. Install JDK 22 (or higher) +1. Install JDK 23 (or higher) 2. Clone the project and move into its folder 3. Run the command `./gradlew build -x test` 4. Import the project inside your IDE as a Gradle project -5. Ensure your IDE is correctly configured to use a Java 22 (or higher) JDK +5. Ensure your IDE is correctly configured to use a Java 23 (or higher) JDK ## How to run the bot locally diff --git a/build.gradle b/build.gradle index af896a6..96260c0 100644 --- a/build.gradle +++ b/build.gradle @@ -60,7 +60,7 @@ description = 'Telegram bot to convert medias in the format required to be used java { toolchain { - languageVersion = JavaLanguageVersion.of(22) + languageVersion = JavaLanguageVersion.of(23) } } diff --git a/qodana.yaml b/qodana.yaml index 42bdd63..86739f6 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -3,5 +3,5 @@ profile: name: qodana.recommended include: - name: VulnerableLibrariesGlobal -linter: jetbrains/qodana-jvm:latest -projectJDK: temurin-22 +linter: jetbrains/qodana-jvm:2024.2 +projectJDK: temurin-23