From 9572ca1ea8fb5862629fa904e322cc5386aafc18 Mon Sep 17 00:00:00 2001 From: Obydux Date: Tue, 13 Aug 2024 19:11:50 +0300 Subject: [PATCH] Update to Java 22 --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .travis.yml | 2 +- README.md | 2 +- nPaper-API/pom.xml | 6 +++--- nPaper-Server/pom.xml | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d1204e3..9f476867 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 8 + - name: Set up JDK 22 uses: actions/setup-java@v3 with: - java-version: '8' + java-version: '22' distribution: 'temurin' cache: maven - name: Build nPaper diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f095ed95..45502f0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 8 + - name: Set up JDK 22 uses: actions/setup-java@v3 with: - java-version: '8' + java-version: '22' distribution: 'temurin' cache: maven - name: Build nPaper diff --git a/.travis.yml b/.travis.yml index b2270fd7..8b11bca9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: java jdk: - - openjdk8 + - openjdk22 notifications: email: false diff --git a/README.md b/README.md index a4ef7add..0a3b67df 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,6 @@ Requirements To build nPaper, the following will need to be installed and available from your shell: -* [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) +* [JDK 22](https://www.oracle.com/ca-en/java/technologies/downloads/#java22) * [Git](https://git-scm.com) * [Maven](https://maven.apache.org) diff --git a/nPaper-API/pom.xml b/nPaper-API/pom.xml index e6e1530d..ffe8686d 100644 --- a/nPaper-API/pom.xml +++ b/nPaper-API/pom.xml @@ -83,7 +83,7 @@ com.github.ben-manes.caffeine caffeine - 2.9.3 + 3.1.8 @@ -111,8 +111,8 @@ maven-compiler-plugin 3.13.0 - 1.8 - 1.8 + 22 + 22 diff --git a/nPaper-Server/pom.xml b/nPaper-Server/pom.xml index 12b7fae7..51688c7c 100644 --- a/nPaper-Server/pom.xml +++ b/nPaper-Server/pom.xml @@ -274,8 +274,8 @@ maven-compiler-plugin 3.13.0 - 1.8 - 1.8 + 22 + 22