From e33a27440522bc6bbc6ac418a33dcbd3ee90fa3f Mon Sep 17 00:00:00 2001 From: "Gabriele C." Date: Sun, 28 Apr 2024 21:04:48 +0200 Subject: [PATCH] Rollback minimum supported versions to Java 11, Maven 3.8.8 and Spigot 1.16.5, fix datasourcecolumns runtime library --- .github/workflows/maven.yml | 2 +- .travis.yml | 2 +- README.md | 10 +++--- pom.xml | 60 +++++++++++++---------------------- src/main/resources/plugin.yml | 3 +- 5 files changed, 31 insertions(+), 46 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a52abd60d..41809c989 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -10,7 +10,7 @@ jobs: build_and_test: strategy: matrix: - jdkversion: [17] + jdkversion: [11, 17, 21] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.travis.yml b/.travis.yml index d41be5cb0..e380fd20a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ language: java matrix: include: - env: - - JDK_VERSION=17 + - JDK_VERSION=11 before_install: - "[[ -d $HOME/.sdkman/ ]] && [[ -d $HOME/.sdkman/bin/ ]] || rm -rf $HOME/.sdkman/" diff --git a/README.md b/README.md index 2304fd972..4f627dd7b 100644 --- a/README.md +++ b/README.md @@ -115,17 +115,17 @@ You can also create your own translation file and, if you want, you can share it ## Requirements ##### Compiling requirements: ->- JDK 17 ->- Maven (3.9+) ->- Git/Github (Optional) +>- JDK 11+ +>- Maven (3.8.8+) +>- Git/GitHub (Optional) ##### How to compile the project: >- Clone the project with Git/GitHub >- Execute command "mvn clean package" ##### Running requirements: ->- Java 17 ->- Paper or Spigot (1.19.X and up) +>- Java 11+ +>- Paper or Spigot (1.16.5 and up) >- ProtocolLib (optional, required by some features) ## Credits diff --git a/pom.xml b/pom.xml index bf9049976..f0879451b 100644 --- a/pom.xml +++ b/pom.xml @@ -60,11 +60,11 @@ UTF-8 UTF-8 - 17 - 17 - 17 - 17 - 3.9.0 + 11 + 11 + 11 + 11 + 3.8.8 AuthMe @@ -94,12 +94,10 @@ 2.11 0.9.0 1.5.0 - 1.4.1 + 1.3.1 - 1.20.5-R0.1-SNAPSHOT - 31.1-jre - 2.10 - 2.19.0 + 1.16.5-R0.1-SNAPSHOT + 2.8.1 3.0.2 @@ -149,8 +147,10 @@ clean package - + @@ -320,6 +320,7 @@ maven-shade-plugin 3.5.3 + @@ -336,11 +338,11 @@ ${project.finalNameBase} - @@ -652,6 +654,12 @@ configme ${dependencies.configme.version} provided + + + org.yaml + snakeyaml + + @@ -661,14 +669,6 @@ ${dependencies.spigot.version} provided - - com.google.guava - guava - - - com.google.code.gson - gson - org.joml joml @@ -677,24 +677,8 @@ net.md-5 bungeecord-chat - - org.yaml - snakeyaml - - - com.google.guava - guava - ${dependencies.guava.version} - provided - - - com.google.code.gson - gson - ${dependencies.gson.version} - provided - org.apache.logging.log4j log4j-core diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 9391aedf2..59ee6a764 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -7,7 +7,7 @@ description: ${project.description} # noinspection YAMLSchemaValidation main: ${pluginDescription.main} version: ${pluginDescription.version} -api-version: 1.19 +api-version: 1.16 softdepend: - Vault - LuckPerms @@ -26,6 +26,7 @@ libraries: - org.apache.commons:commons-email:${dependencies.commons-email.version} - com.zaxxer:HikariCP:${dependencies.hikaricp.version} - org.slf4j:slf4j-simple:${dependencies.slf4j.version} + - ch.jalu:datasourcecolumns:${dependencies.datasourcecolumns.version} - com.mysql:mysql-connector-j:${dependencies.mysql-connector-j.version} - org.mariadb.jdbc:mariadb-java-client:${dependencies.mariadb-java-client.version} - org.postgresql:postgresql:${dependencies.postgresql.version}