Compare commits
2 Commits
0b9ec74747
...
48157c0d8e
Author | SHA1 | Date |
---|---|---|
GeorgH93 | 48157c0d8e | |
GeorgH93 | c3ac9b63d9 |
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
6
pom.xml
6
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue