Compare commits

...

2 Commits

Author SHA1 Message Date
GeorgH93 48157c0d8e
Update to v2.4.28 2024-04-22 20:58:11 +02:00
GeorgH93 c3ac9b63d9
Build with Java 21 2024-02-08 22:45:11 +01:00
5 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 8, 11, 17 ]
java-version: [ 8, 11, 17, 21 ]
steps:
- name: Checkout
uses: actions/checkout@v3

View File

@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: temurin
server-id: github
settings-path: ${{ github.workspace }} # location for the settings.xml file

View File

@ -14,10 +14,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 17
java-version: 21
distribution: temurin
- name: Cache SonarCloud packages
uses: actions/cache@v3

View File

@ -121,7 +121,7 @@ public class Minepacks extends JavaPlugin implements MinepacksPlugin, IPlugin
private boolean checkMcVersion()
{
if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_20_R3))
if(MCVersion.is(MCVersion.UNKNOWN) || !MCVersion.isUUIDsSupportAvailable() || MCVersion.isNewerThan(MCVersion.MC_NMS_1_20_R4))
{
this.warnOnVersionIncompatibility();
this.setEnabled(false);

View File

@ -7,16 +7,16 @@
<packaging>pom</packaging>
<properties>
<revision>2.4.27</revision>
<revision>2.4.28</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<configFileVersion>34</configFileVersion>
<languageFileVersion>21</languageFileVersion>
<pcgfPluginLibVersion>1.0.39.3-SNAPSHOT</pcgfPluginLibVersion>
<pcgfPluginLibVersion>1.0.39.4-SNAPSHOT</pcgfPluginLibVersion>
<bukkitVersion>1.15.2-R0.1-SNAPSHOT</bukkitVersion>
<mavenShade.version>3.4.1</mavenShade.version>
<mavenShade.version>3.5.3</mavenShade.version>
<author>GeorgH93</author>
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>