From 8677fa95057e0284732f25c35d7da3ba84808960 Mon Sep 17 00:00:00 2001 From: CaaMoe Date: Sun, 14 Jan 2024 19:01:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BC=96=E8=AF=91=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 8 ++++---- build.gradle | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5f21729..ac473016 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,12 +34,12 @@ jobs: with: repository: 'PaperMC/Velocity' - - name: Setup JDK 11 + - name: Setup JDK 17 if: env.cache-hit == 'false' uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: 11 + java-version: 17 cache: 'gradle' - name: Build Velocity @@ -70,11 +70,11 @@ jobs: - name: 'Checkout' uses: actions/checkout@v3 - - name: Setup JDK 11 + - name: Setup JDK 17 uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: 11 + java-version: 17 cache: 'gradle' - name: Get Velocity Library diff --git a/build.gradle b/build.gradle index eb970465..0664b383 100644 --- a/build.gradle +++ b/build.gradle @@ -90,7 +90,7 @@ subprojects { } compileJava { - sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17 } }