Merge d9f1407b4303fdfd2ee790650df3e33f36bb07e1 into a1a7285df094de4fdfb47ccc38e6c8a79a137fe3
This commit is contained in:
commit
b46c5ab070
@ -1,14 +1,15 @@
|
|||||||
plugins {
|
plugins {
|
||||||
|
java
|
||||||
`java-library`
|
`java-library`
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
id("com.gradleup.shadow") version "9.0.0-beta4"
|
id("com.gradleup.shadow") version "9.0.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "Fork of the first authentication plugin for the Bukkit API!"
|
description = "Fork of the first authentication plugin for the Bukkit API!"
|
||||||
|
|
||||||
java {
|
java {
|
||||||
withSourcesJar()
|
withSourcesJar()
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
toolchain.languageVersion = JavaLanguageVersion.of(17)
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<JavaCompile> {
|
tasks.withType<JavaCompile> {
|
||||||
@ -17,14 +18,11 @@ tasks.withType<JavaCompile> {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
mavenLocal()
|
maven("https://repo.papermc.io/repository/maven-public/")
|
||||||
// PaperMC
|
|
||||||
maven("https://papermc.io/repo/repository/maven-public/")
|
|
||||||
maven("https://repo.opencollab.dev/main/")
|
maven("https://repo.opencollab.dev/main/")
|
||||||
maven("https://repo.opencollab.dev/maven-snapshots/")
|
maven("https://repo.opencollab.dev/maven-snapshots/")
|
||||||
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
|
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
|
||||||
maven("https://repository.apache.org/content/repositories/snapshots/")
|
maven("https://repository.apache.org/content/repositories/snapshots/")
|
||||||
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
|
|
||||||
maven("https://repo.codemc.io/repository/maven-public/")
|
maven("https://repo.codemc.io/repository/maven-public/")
|
||||||
maven("https://repo.essentialsx.net/releases/")
|
maven("https://repo.essentialsx.net/releases/")
|
||||||
maven("https://repo.dmulloy2.net/nexus/repository/releases/")
|
maven("https://repo.dmulloy2.net/nexus/repository/releases/")
|
||||||
@ -35,14 +33,10 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// Spigot API, https://www.spigotmc.org/
|
// Paper API, https://papermc.io/
|
||||||
compileOnly("org.spigotmc:spigot-api:1.20.6-R0.1-SNAPSHOT")
|
compileOnly(libs.paper.api)
|
||||||
// Adventure API
|
// Floodgate
|
||||||
implementation(libs.adventure.text.minimessage)
|
compileOnly(libs.floodgate)
|
||||||
implementation(libs.adventure.platform.bukkit)
|
|
||||||
implementation(libs.adventure.text.serializer.gson)
|
|
||||||
// Java Libraries
|
|
||||||
compileOnly("org.geysermc.floodgate:api:2.2.2-SNAPSHOT")
|
|
||||||
// Jalu Injector
|
// Jalu Injector
|
||||||
implementation(libs.injector)
|
implementation(libs.injector)
|
||||||
// String comparison library. Used for dynamic help system.
|
// String comparison library. Used for dynamic help system.
|
||||||
@ -61,11 +55,7 @@ dependencies {
|
|||||||
// Libby
|
// Libby
|
||||||
implementation(libs.libby.bukkit)
|
implementation(libs.libby.bukkit)
|
||||||
// Database Connection Pool
|
// Database Connection Pool
|
||||||
implementation(libs.hikaricp) {
|
implementation(libs.hikaricp)
|
||||||
exclude("org.slf4j", "slf4j-api")
|
|
||||||
}
|
|
||||||
// HikariCP Logger
|
|
||||||
implementation(libs.slf4j.simple) // We can't update to 2.x as long as we use HikariCP for java 8
|
|
||||||
// PBKDF2 implementation
|
// PBKDF2 implementation
|
||||||
implementation(libs.pbkdf2)
|
implementation(libs.pbkdf2)
|
||||||
// MySQL connector, shaded into the legacy jar
|
// MySQL connector, shaded into the legacy jar
|
||||||
@ -75,41 +65,36 @@ dependencies {
|
|||||||
implementation(libs.argon2.jvm.nolibs)
|
implementation(libs.argon2.jvm.nolibs)
|
||||||
// TOTP client
|
// TOTP client
|
||||||
implementation(libs.googleauth)
|
implementation(libs.googleauth)
|
||||||
// Keep in sync with spigot 1.19
|
|
||||||
implementation(libs.guava) {
|
|
||||||
exclude("org.checkerframework", "checker-qual")
|
|
||||||
}
|
|
||||||
implementation(libs.gson)
|
|
||||||
// ConfigMe
|
// ConfigMe
|
||||||
implementation(libs.configme) {
|
implementation(libs.configme) {
|
||||||
exclude("org.yaml", "snakeyaml")
|
exclude("org.yaml", "snakeyaml")
|
||||||
}
|
}
|
||||||
// bStats metrics
|
// bStats metrics
|
||||||
implementation("org.bstats:bstats-bukkit:3.0.2")
|
implementation(libs.bstats)
|
||||||
// ProtocolLib
|
// ProtocolLib
|
||||||
compileOnly("com.comphenix.protocol:ProtocolLib:5.3.0")
|
compileOnly(libs.protocollib)
|
||||||
// LuckPerms plugin
|
// LuckPerms plugin
|
||||||
compileOnly("net.luckperms:api:5.4")
|
compileOnly(libs.luckperms)
|
||||||
// PermissionsEx plugin
|
// PermissionsEx plugin
|
||||||
compileOnly("ru.tehkode:PermissionsEx:1.23.5-SNAPSHOT")
|
compileOnly(libs.pex)
|
||||||
// zPermissions plugin
|
// zPermissions plugin
|
||||||
compileOnly("org.tyrannyofheaven.bukkit:zPermissions:1.4.3-SNAPSHOT") {
|
compileOnly(libs.zpermissions) {
|
||||||
exclude("org.avaje", "ebean")
|
exclude("org.avaje", "ebean")
|
||||||
}
|
}
|
||||||
// Vault, https://dev.bukkit.org/bukkit-plugins/vault/
|
// Vault
|
||||||
compileOnly("net.milkbowl.vault:VaultAPI:1.7")
|
compileOnly(libs.vault)
|
||||||
// Multi World plugin, https://www.spigotmc.org/resources/multiverse-core.390/
|
// Multi World plugin
|
||||||
compileOnly("com.onarandombox.multiversecore:multiverse-core:4.3.14")
|
compileOnly(libs.multiverse)
|
||||||
// EssentialsX plugin
|
// EssentialsX plugin
|
||||||
compileOnly("net.essentialsx:EssentialsX:2.20.1") {
|
compileOnly(libs.essentialsx) {
|
||||||
exclude("io.papermc", "paperlib")
|
exclude("io.papermc", "paperlib")
|
||||||
}
|
}
|
||||||
// BCrypt implementation
|
// BCrypt implementation
|
||||||
implementation(libs.bcrypt)
|
implementation(libs.bcrypt)
|
||||||
// PlaceholderAPI
|
// PlaceholderAPI
|
||||||
compileOnly("me.clip:placeholderapi:2.11.6")
|
compileOnly(libs.placeholderapi)
|
||||||
// XAuth, another authentication plugin, required by the database converter
|
// XAuth plugin
|
||||||
compileOnly("de.luricos.bukkit:xAuth:2.6.1-SNAPSHOT")
|
compileOnly(libs.xauth)
|
||||||
implementation(libs.datasourcecolumns)
|
implementation(libs.datasourcecolumns)
|
||||||
implementation(libs.postgresql) {
|
implementation(libs.postgresql) {
|
||||||
exclude("org.checkerframework", "checker-qual")
|
exclude("org.checkerframework", "checker-qual")
|
||||||
@ -142,18 +127,15 @@ tasks {
|
|||||||
relocate("org.apache.commons", "fr.xephi.authme.libs.org.apache.commons")
|
relocate("org.apache.commons", "fr.xephi.authme.libs.org.apache.commons")
|
||||||
relocate("waffle", "fr.xephi.authme.libs.waffle")
|
relocate("waffle", "fr.xephi.authme.libs.waffle")
|
||||||
relocate("com.github.benmanes.caffeine", "fr.xephi.authme.libs.com.github.benmanes.caffeine")
|
relocate("com.github.benmanes.caffeine", "fr.xephi.authme.libs.com.github.benmanes.caffeine")
|
||||||
relocate("com.google.common", "fr.xephi.authme.libs.com.google.common")
|
|
||||||
relocate("com.google.thirdparty", "fr.xephi.authme.libs.com.google.thirdparty")
|
relocate("com.google.thirdparty", "fr.xephi.authme.libs.com.google.thirdparty")
|
||||||
relocate("com.google.j2objc", "fr.xephi.authme.libs.com.google.j2objc")
|
relocate("com.google.j2objc", "fr.xephi.authme.libs.com.google.j2objc")
|
||||||
relocate("com.google.errorprone", "fr.xephi.authme.libs.com.google.errorprone")
|
relocate("com.google.errorprone", "fr.xephi.authme.libs.com.google.errorprone")
|
||||||
relocate("com.google.gson", "fr.xephi.authme.libs.com.google.gson")
|
|
||||||
relocate("org.apache.http", "fr.xephi.authme.libs.org.apache.http")
|
relocate("org.apache.http", "fr.xephi.authme.libs.org.apache.http")
|
||||||
relocate("org.apache.commons", "fr.xephi.authme.libs.org.apache.commons")
|
relocate("org.apache.commons", "fr.xephi.authme.libs.org.apache.commons")
|
||||||
relocate("waffle", "fr.xephi.authme.libs.waffle")
|
relocate("waffle", "fr.xephi.authme.libs.waffle")
|
||||||
relocate("com.github.benmanes.caffeine", "fr.xephi.authme.libs.com.github.benmanes.caffeine")
|
relocate("com.github.benmanes.caffeine", "fr.xephi.authme.libs.com.github.benmanes.caffeine")
|
||||||
relocate("ch.jalu", "fr.xephi.authme.libs.ch.jalu")
|
relocate("ch.jalu", "fr.xephi.authme.libs.ch.jalu")
|
||||||
relocate("com.zaxxer.hikari", "fr.xephi.authme.libs.com.zaxxer.hikari")
|
relocate("com.zaxxer.hikari", "fr.xephi.authme.libs.com.zaxxer.hikari")
|
||||||
relocate("org.slf4j", "fr.xephi.authme.libs.org.slf4j")
|
|
||||||
relocate("com.maxmind.db", "fr.xephi.authme.libs.com.maxmind.db")
|
relocate("com.maxmind.db", "fr.xephi.authme.libs.com.maxmind.db")
|
||||||
relocate("com.ice.tar", "fr.xephi.authme.libs.com.icetar.tar")
|
relocate("com.ice.tar", "fr.xephi.authme.libs.com.icetar.tar")
|
||||||
relocate("net.ricecode.similarity", "fr.xephi.authme.libs.ricecode.net.ricecode.similarity")
|
relocate("net.ricecode.similarity", "fr.xephi.authme.libs.ricecode.net.ricecode.similarity")
|
||||||
@ -175,9 +157,6 @@ tasks {
|
|||||||
relocate("io.netty", "fr.xephi.authme.libs.io.netty")
|
relocate("io.netty", "fr.xephi.authme.libs.io.netty")
|
||||||
relocate("org.apache.commons.validator", "fr.xephi.authme.libs.org.apache.commons.validator")
|
relocate("org.apache.commons.validator", "fr.xephi.authme.libs.org.apache.commons.validator")
|
||||||
relocate("com.alessiodp.libby", "fr.xephi.authme.libs.com.alessiodp.libby")
|
relocate("com.alessiodp.libby", "fr.xephi.authme.libs.com.alessiodp.libby")
|
||||||
relocate("net.kyori.adventure", "fr.xephi.authme.libs.net.kyori.adventure")
|
|
||||||
relocate("net.kyori.examination", "fr.xephi.authme.libs.net.kyori.examination")
|
|
||||||
relocate("net.kyori.option", "fr.xephi.authme.libs.net.kyori.option")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
group=fr.xephi
|
group=fr.xephi
|
||||||
version=5.7.0-FORK-b53
|
version=5.7.0-FORK-b53
|
||||||
mainClass = fr.xephi.authme.AuthMe
|
mainClass = fr.xephi.authme.AuthMe
|
||||||
authors = [sgdc3, games647, Hex3l, krusic22]
|
authors = [sgdc3, games647, Hex3l, krusic22]
|
||||||
@ -1,6 +1,6 @@
|
|||||||
[versions]
|
[versions]
|
||||||
adventureApi = "4.18.0"
|
paper-api = "1.20.4-R0.1-SNAPSHOT"
|
||||||
adventurePlatform = "4.3.4"
|
floodgate = "2.2.4-SNAPSHOT"
|
||||||
injector = "1.0"
|
injector = "1.0"
|
||||||
string-similarity = "1.0.0"
|
string-similarity = "1.0.0"
|
||||||
maxmind-db-gson = "2.0.3"
|
maxmind-db-gson = "2.0.3"
|
||||||
@ -8,15 +8,12 @@ javatar = "2.5"
|
|||||||
commons-email = "1.6-SNAPSHOT"
|
commons-email = "1.6-SNAPSHOT"
|
||||||
log4j-core = "2.20.0"
|
log4j-core = "2.20.0"
|
||||||
libby-bukkit = "2.0.0-SNAPSHOT"
|
libby-bukkit = "2.0.0-SNAPSHOT"
|
||||||
hikaricp = "4.0.3"
|
hikaricp = "7.0.2"
|
||||||
slf4j-simple = "1.7.36"
|
|
||||||
pbkdf2 = "1.1.4"
|
pbkdf2 = "1.1.4"
|
||||||
mysql-connector-j = "9.1.0"
|
mysql-connector-j = "9.1.0"
|
||||||
mariadb-java-client = "3.5.1"
|
mariadb-java-client = "3.5.1"
|
||||||
argon2-jvm-nolibs = "2.11"
|
argon2-jvm-nolibs = "2.11"
|
||||||
googleauth = "1.5.0"
|
googleauth = "1.5.0"
|
||||||
guava = "33.2.1-jre"
|
|
||||||
gson = "2.10.1"
|
|
||||||
configme = "1.3.1"
|
configme = "1.3.1"
|
||||||
bcrypt = "0.10.2"
|
bcrypt = "0.10.2"
|
||||||
datasourcecolumns = "0.1.1-SNAPSHOT"
|
datasourcecolumns = "0.1.1-SNAPSHOT"
|
||||||
@ -25,11 +22,20 @@ checker-qual = "3.48.0"
|
|||||||
universalscheduler = "0.1.6"
|
universalscheduler = "0.1.6"
|
||||||
sqlite-jdbc = "3.47.1.0"
|
sqlite-jdbc = "3.47.1.0"
|
||||||
h2 = "2.2.224"
|
h2 = "2.2.224"
|
||||||
|
bstats = "3.0.2"
|
||||||
|
protocollib = "5.4.0"
|
||||||
|
luckperms = "5.4"
|
||||||
|
pex = "1.23.5-SNAPSHOT"
|
||||||
|
zpermissions = "1.4.3-SNAPSHOT"
|
||||||
|
vault = "1.7"
|
||||||
|
multiverse = "4.3.14"
|
||||||
|
essentialsx = "2.20.1"
|
||||||
|
placeholderapi = "2.11.6"
|
||||||
|
xauth = "2.6.1-SNAPSHOT"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
adventure-text-minimessage = { group = "net.kyori", name = "adventure-text-minimessage", version.ref = "adventureApi" }
|
paper-api = { group = "io.papermc.paper", name = "paper-api", version.ref = "paper-api" }
|
||||||
adventure-platform-bukkit = { group = "net.kyori", name = "adventure-platform-bukkit", version.ref = "adventurePlatform" }
|
floodgate = { group = "org.geysermc.floodgate", name = "api", version.ref = "floodgate" }
|
||||||
adventure-text-serializer-gson = { group = "net.kyori", name = "adventure-text-serializer-gson", version.ref = "adventureApi" }
|
|
||||||
injector = { group = "ch.jalu", name = "injector", version.ref = "injector" }
|
injector = { group = "ch.jalu", name = "injector", version.ref = "injector" }
|
||||||
string-similarity = { group = "net.ricecode", name = "string-similarity", version.ref = "string-similarity" }
|
string-similarity = { group = "net.ricecode", name = "string-similarity", version.ref = "string-similarity" }
|
||||||
maxmind-db-gson = { group = "com.maxmind.db", name = "maxmind-db-gson", version.ref = "maxmind-db-gson" }
|
maxmind-db-gson = { group = "com.maxmind.db", name = "maxmind-db-gson", version.ref = "maxmind-db-gson" }
|
||||||
@ -38,14 +44,11 @@ commons-email = { group = "org.apache.commons", name = "commons-email", version.
|
|||||||
log4j-core = { group = "org.apache.logging.log4j", name = "log4j-core", version.ref = "log4j-core" }
|
log4j-core = { group = "org.apache.logging.log4j", name = "log4j-core", version.ref = "log4j-core" }
|
||||||
libby-bukkit = { group = "com.alessiodp.libby", name = "libby-bukkit", version.ref = "libby-bukkit" }
|
libby-bukkit = { group = "com.alessiodp.libby", name = "libby-bukkit", version.ref = "libby-bukkit" }
|
||||||
hikaricp = { group = "com.zaxxer", name = "HikariCP", version.ref = "hikaricp" }
|
hikaricp = { group = "com.zaxxer", name = "HikariCP", version.ref = "hikaricp" }
|
||||||
slf4j-simple = { group = "org.slf4j", name = "slf4j-simple", version.ref = "slf4j-simple" }
|
|
||||||
pbkdf2 = { group = "de.rtner", name = "PBKDF2", version.ref = "pbkdf2" }
|
pbkdf2 = { group = "de.rtner", name = "PBKDF2", version.ref = "pbkdf2" }
|
||||||
mysql-connector-j = { group = "com.mysql", name = "mysql-connector-j", version.ref = "mysql-connector-j" }
|
mysql-connector-j = { group = "com.mysql", name = "mysql-connector-j", version.ref = "mysql-connector-j" }
|
||||||
mariadb-java-client = { group = "org.mariadb.jdbc", name = "mariadb-java-client", version.ref = "mariadb-java-client" }
|
mariadb-java-client = { group = "org.mariadb.jdbc", name = "mariadb-java-client", version.ref = "mariadb-java-client" }
|
||||||
argon2-jvm-nolibs = { group = "de.mkammerer", name = "argon2-jvm-nolibs", version.ref = "argon2-jvm-nolibs" }
|
argon2-jvm-nolibs = { group = "de.mkammerer", name = "argon2-jvm-nolibs", version.ref = "argon2-jvm-nolibs" }
|
||||||
googleauth = { group = "com.warrenstrange", name = "googleauth", version.ref = "googleauth" }
|
googleauth = { group = "com.warrenstrange", name = "googleauth", version.ref = "googleauth" }
|
||||||
guava = { group = "com.google.guava", name = "guava", version.ref = "guava" }
|
|
||||||
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
|
|
||||||
configme = { group = "ch.jalu", name = "configme", version.ref = "configme" }
|
configme = { group = "ch.jalu", name = "configme", version.ref = "configme" }
|
||||||
bcrypt = { group = "at.favre.lib", name = "bcrypt", version.ref = "bcrypt" }
|
bcrypt = { group = "at.favre.lib", name = "bcrypt", version.ref = "bcrypt" }
|
||||||
datasourcecolumns = { group = "ch.jalu", name = "datasourcecolumns", version.ref = "datasourcecolumns" }
|
datasourcecolumns = { group = "ch.jalu", name = "datasourcecolumns", version.ref = "datasourcecolumns" }
|
||||||
@ -53,4 +56,14 @@ postgresql = { group = "org.postgresql", name = "postgresql", version.ref = "pos
|
|||||||
checker-qual = { group = "org.checkerframework", name = "checker-qual", version.ref = "checker-qual" }
|
checker-qual = { group = "org.checkerframework", name = "checker-qual", version.ref = "checker-qual" }
|
||||||
universalscheduler = { group = "com.github.Anon8281", name = "UniversalScheduler", version.ref = "universalscheduler" }
|
universalscheduler = { group = "com.github.Anon8281", name = "UniversalScheduler", version.ref = "universalscheduler" }
|
||||||
sqlite-jdbc = { group = "org.xerial", name = "sqlite-jdbc", version.ref = "sqlite-jdbc" }
|
sqlite-jdbc = { group = "org.xerial", name = "sqlite-jdbc", version.ref = "sqlite-jdbc" }
|
||||||
h2 = { group = "com.h2database", name = "h2", version.ref = "h2" }
|
h2 = { group = "com.h2database", name = "h2", version.ref = "h2" }
|
||||||
|
bstats = { group = "org.bstats", name = "bstats-bukkit", version.ref = "bstats" }
|
||||||
|
protocollib = { group = "net.dmulloy2", name = "ProtocolLib", version.ref = "protocollib" }
|
||||||
|
luckperms = { group = "net.luckperms", name = "api", version.ref = "luckperms" }
|
||||||
|
pex = { group = "ru.tehkode", name = "PermissionsEx", version.ref = "pex" }
|
||||||
|
zpermissions = { group = "org.tyrannyofheaven.bukkit", name = "zPermissions", version.ref = "zpermissions" }
|
||||||
|
vault = { group = "net.milkbowl.vault", name = "VaultAPI", version.ref = "vault" }
|
||||||
|
multiverse = { group = "com.onarandombox.multiversecore", name = "multiverse-core", version.ref = "multiverse" }
|
||||||
|
essentialsx = { group = "net.essentialsx", name = "EssentialsX", version.ref = "essentialsx" }
|
||||||
|
placeholderapi = { group = "me.clip", name = "placeholderapi", version.ref = "placeholderapi" }
|
||||||
|
xauth = { group = "de.luricos.bukkit", name = "xAuth", version.ref = "xauth" }
|
||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user