diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d08c822..7d0f407 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -13,11 +13,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK uses: actions/setup-java@v3 with: distribution: 'adopt' - java-version: '17' + java-version: '21' - name: Grant execute permission for gradlew run: chmod +x ./gradlew diff --git a/build.gradle b/build.gradle index d8e9264..698935b 100644 --- a/build.gradle +++ b/build.gradle @@ -17,8 +17,8 @@ dependencies { java { toolchain { - sourceCompatibility = '17' - targetCompatibility = '17' + sourceCompatibility = '21' + targetCompatibility = '21' } }