소스 검색

require java 21

nossr50 1 년 전
부모
커밋
b65247cbb0
2개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 0
      Changelog.txt
  2. 4 4
      pom.xml

+ 3 - 0
Changelog.txt

@@ -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

+ 4 - 4
pom.xml

@@ -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>