diff --git a/.github/workflows/gradle-test.yml b/.github/workflows/gradle-test.yml index 4baaa3b..6413ff1 100644 --- a/.github/workflows/gradle-test.yml +++ b/.github/workflows/gradle-test.yml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: Test diff --git a/build.gradle b/build.gradle index dbb8856..ff1bf0b 100644 --- a/build.gradle +++ b/build.gradle @@ -14,8 +14,8 @@ repositories { } java { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_21 + targetCompatibility = JavaVersion.VERSION_21 } configurations {