Skip to content

Commit

Permalink
require java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
nossr50 committed May 19, 2024
1 parent 9b09f06 commit b65247c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit b65247c

Please sign in to comment.