From 55f27390a9b364ace30ce115b6f56658705d41e9 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sun, 20 Jun 2021 10:28:28 -0700 Subject: [PATCH] Java 16 (#428) * Java 16 update * Updated maven versions * Java 11 * Java 16 build --- .github/workflows/build.yml | 4 ++-- pom.xml | 28 ++++++++++++++++++---------- src/main/resources/plugin.yml | 2 +- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e16544..b9cf60c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,10 +14,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Set up JDK 11 + - name: Set up JDK 16 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 16 - name: Cache SonarCloud packages uses: actions/cache@v1 with: diff --git a/pom.xml b/pom.xml index ea096e8..7249041 100644 --- a/pom.xml +++ b/pom.xml @@ -54,11 +54,11 @@ UTF-8 UTF-8 - 1.8 + 16 - 2.0.2 + 2.0.9 - 1.16.1-R0.1-SNAPSHOT + 1.17-R0.1-SNAPSHOT 1.17.0-SNAPSHOT ${build.version}-SNAPSHOT @@ -165,7 +165,7 @@ org.mockito mockito-core - 3.0.0 + 3.11.1 test @@ -245,14 +245,18 @@ maven-compiler-plugin 3.7.0 - ${java.version} - ${java.version} + ${java.version} org.apache.maven.plugins maven-surefire-plugin - 2.22.0 + 3.0.0-M5 + + + --illegal-access=permit + + org.apache.maven.plugins @@ -262,22 +266,26 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.0.1 + 3.3.0 - public + 8 + private false -Xdoclint:none + + ${java.home}/bin/javadoc attach-javadocs + install jar - + org.apache.maven.plugins maven-source-plugin 3.0.1 diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index ad98fc0..b840de9 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: BSkyBlock main: world.bentobox.bskyblock.BSkyBlockPladdon version: ${version} -api-version: 1.16 +api-version: 1.17 description: A SkyBlock Plugin author: tastybento depend: