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 } }