mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-01-08 00:47:34 +01:00
Require Java 11 compiler (JRE 1.8 compatible)
This commit is contained in:
parent
fefeead323
commit
ddca37ab73
@ -116,16 +116,16 @@ You can also create your own translation file and, if you want, you can share it
|
|||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
##### Compiling requirements:
|
##### Compiling requirements:
|
||||||
>- JDK 8 (JDK 17 is recommended)
|
>- JDK 11 (JDK 17 is recommended)
|
||||||
>- Maven
|
>- Maven
|
||||||
>- Git/Github (Optional)
|
>- Git/Github (Optional)
|
||||||
|
|
||||||
##### How to compile the project:
|
##### How to compile the project:
|
||||||
>- Clone the project with Git/Github
|
>- Clone the project with Git/GitHub
|
||||||
>- Execute command "mvn clean package"
|
>- Execute command "mvn clean package"
|
||||||
|
|
||||||
##### Running requirements:
|
##### Running requirements:
|
||||||
>- Java 8 (Java 11 is recommended)
|
>- Java 8 (Java 17 is recommended)
|
||||||
>- Paper or Spigot (1.8.X and up)<br>
|
>- Paper or Spigot (1.8.X and up)<br>
|
||||||
(In case you use Thermos, Cauldron or similar, you have to update the SpecialSource library to support Java 8 plugins.
|
(In case you use Thermos, Cauldron or similar, you have to update the SpecialSource library to support Java 8 plugins.
|
||||||
HowTo: https://github.com/games647/FastLogin/issues/111#issuecomment-272331347)
|
HowTo: https://github.com/games647/FastLogin/issues/111#issuecomment-272331347)
|
||||||
|
15
pom.xml
15
pom.xml
@ -60,8 +60,11 @@
|
|||||||
<!-- Environment properties -->
|
<!-- Environment properties -->
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<java.version>1.8</java.version>
|
<java.source>1.8</java.source>
|
||||||
<maven.minimumVersion>3.6.0</maven.minimumVersion>
|
<java.target>1.8</java.target>
|
||||||
|
<java.apiVersion>8</java.apiVersion>
|
||||||
|
<java.compiler.minimumVersion>11</java.compiler.minimumVersion>
|
||||||
|
<maven.minimumVersion>3.6.3</maven.minimumVersion>
|
||||||
|
|
||||||
<!-- Dependencies versions -->
|
<!-- Dependencies versions -->
|
||||||
<spigot.version>1.19-R0.1-SNAPSHOT</spigot.version>
|
<spigot.version>1.19-R0.1-SNAPSHOT</spigot.version>
|
||||||
@ -173,6 +176,9 @@
|
|||||||
<requireMavenVersion>
|
<requireMavenVersion>
|
||||||
<version>${maven.minimumVersion}</version>
|
<version>${maven.minimumVersion}</version>
|
||||||
</requireMavenVersion>
|
</requireMavenVersion>
|
||||||
|
<requireJavaVersion>
|
||||||
|
<version>[11,)</version>
|
||||||
|
</requireJavaVersion>
|
||||||
</rules>
|
</rules>
|
||||||
<fail>true</fail>
|
<fail>true</fail>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -197,8 +203,9 @@
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.10.1</version>
|
<version>3.10.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>${java.version}</source>
|
<source>${java.source}</source>
|
||||||
<target>${java.version}</target>
|
<target>${java.target}</target>
|
||||||
|
<release>${java.apiVersion}</release>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- Generate test coverage reports -->
|
<!-- Generate test coverage reports -->
|
||||||
|
Loading…
Reference in New Issue
Block a user