require java 21

This commit is contained in:
nossr50 2024-05-19 13:05:00 -07:00
parent 9b09f06ad8
commit b65247cbb0
2 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,5 @@
Version 2.2.013
mcMMO now requires Java 21 (see notes)
(API) Deprecated com.gmail.nossr50.mcMMO.getPlaceStore
(API) Added com.gmail.nossr50.mcMMO.getUserBlockTracker
(API) Added com.gmail.nossr50.mcMMO.getChunkManager
@ -7,6 +8,8 @@ Version 2.2.013
(Codebase) Cleaned up and organized unit tests relating to UserBlockTracker
NOTES:
mcMMO is now compiled for Java 21, Java 21 will be requires to run mcMMO.
This should not pose an issue as there are Java 21 server JARs for the versions of MC that mcMMO currently supports.
Not planning to delete the deprecated methods in UserBlockTracker anytime soon, as nothing has really changed other than the names
Version 2.2.012

View File

@ -14,9 +14,9 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<java.version>17</java.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<java.version>21</java.version>
</properties>
<issueManagement>
@ -103,7 +103,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<release>17</release>
<release>21</release>
<compilerArgs>
<arg>-parameters</arg> <!-- used for ACF syntax stuff -->
</compilerArgs>