From 7d9981959e9f008fef13cdad3dc97a3d79e71064 Mon Sep 17 00:00:00 2001 From: pipinet Date: Mon, 11 Dec 2023 22:58:46 +0800 Subject: [PATCH] chore: downgrade jvm to 21 --- .github/workflows/publication.yml | 2 +- .version | 2 +- build.gradle | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publication.yml b/.github/workflows/publication.yml index 734f826..8fe1b8d 100644 --- a/.github/workflows/publication.yml +++ b/.github/workflows/publication.yml @@ -19,7 +19,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: '21' + java-version: '17' distribution: 'adopt' cache: 'gradle' - name: Deploy artifacts diff --git a/.version b/.version index be58634..3b04cfb 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.3 +0.2 diff --git a/build.gradle b/build.gradle index e317cb9..cde4259 100644 --- a/build.gradle +++ b/build.gradle @@ -46,8 +46,8 @@ subprojects { } java { - sourceCompatibility = JavaVersion.VERSION_21 - targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } test {