This commit is contained in:
Dreeam 2025-01-26 13:27:48 -05:00
parent ed3091994d
commit 4a89e0a468
No known key found for this signature in database
GPG Key ID: 0998F8AFD8F667AB
9 changed files with 31 additions and 12 deletions

14
.gitignore vendored
View File

@ -1,4 +1,16 @@
.gradle # Mac filesystem dust
.DS_Store/
.DS_Store
# Linux temp files
*~
# IntelliJ
*.iml
.idea .idea
# Gradle
!gradle/wrapper/gradle-wrapper.jar
.gradle
build build
outs outs

View File

@ -101,7 +101,9 @@ dependencies {
// Multi World plugin, https://www.spigotmc.org/resources/multiverse-core.390/ // Multi World plugin, https://www.spigotmc.org/resources/multiverse-core.390/
compileOnly("com.onarandombox.multiversecore:multiverse-core:4.3.14") compileOnly("com.onarandombox.multiversecore:multiverse-core:4.3.14")
// EssentialsX plugin // EssentialsX plugin
compileOnly("net.essentialsx:EssentialsX:2.20.1") compileOnly("net.essentialsx:EssentialsX:2.20.1") {
exclude("io.papermc", "paperlib")
}
// BCrypt implementation // BCrypt implementation
implementation("at.favre.lib:bcrypt:0.10.2") implementation("at.favre.lib:bcrypt:0.10.2")
// PlaceholderAPI // PlaceholderAPI
@ -113,11 +115,11 @@ dependencies {
exclude("org.checkerframework", "checker-qual") exclude("org.checkerframework", "checker-qual")
} }
// Required to mock the LuckPerms API // Required to mock the LuckPerms API
testImplementation("org.checkerframework:checker-qual:3.40.0") testImplementation("org.checkerframework:checker-qual:3.48.0")
// Universal Scheduler // Universal Scheduler
implementation("com.github.Anon8281:UniversalScheduler:0.1.6") implementation("com.github.Anon8281:UniversalScheduler:0.1.6")
// JDBC drivers for datasource integration tests // JDBC drivers for datasource integration tests
testImplementation("org.xerial:sqlite-jdbc:3.46.0.0") testImplementation("org.xerial:sqlite-jdbc:3.47.1.0")
compileOnly("com.h2database:h2:2.2.224") compileOnly("com.h2database:h2:2.2.224")
} }
@ -127,14 +129,15 @@ tasks {
expand(project.properties) expand(project.properties)
} }
} }
build { dependsOn(shadowJar) } build { dependsOn(shadowJar) }
// ShadowJar Config // ShadowJar Config
shadowJar { shadowJar {
// Options // Options
archiveAppendix.set("") archiveFileName = "AuthMe-${project.version}.${archiveExtension.get()}"
archiveClassifier.set("")
archiveBaseName.set("AuthMe")
destinationDirectory.set(file("$rootDir/outs")) destinationDirectory.set(file("$rootDir/outs"))
exclude("META-INF/**")
// Libraries Relocate // Libraries Relocate
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")

Binary file not shown.

View File

@ -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.11.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

4
gradlew vendored
View File

@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# #
# SPDX-License-Identifier: Apache-2.0
#
############################################################################## ##############################################################################
# #
@ -84,7 +86,7 @@ done
# shellcheck disable=SC2034 # shellcheck disable=SC2034
APP_BASE_NAME=${0##*/} APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value. # Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum MAX_FD=maximum

2
gradlew.bat vendored
View File

@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and @rem See the License for the specific language governing permissions and
@rem limitations under the License. @rem limitations under the License.
@rem @rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off @if "%DEBUG%"=="" @echo off
@rem ########################################################################## @rem ##########################################################################

View File

@ -1 +1 @@
rootProject.name = "authme" rootProject.name = "AuthMeReReloaded"

View File

@ -3,7 +3,7 @@ name: ${project.name}
# noinspection YAMLSchemaValidation # noinspection YAMLSchemaValidation
authors: ${project.authors} authors: ${project.authors}
website: https://github.com/HaHaWTH/AuthMeReReloaded/ website: https://github.com/HaHaWTH/AuthMeReReloaded/
description: A fork of AuthMeReloaded that contains bug fixes description: ${project.description}
# noinspection YAMLSchemaValidation # noinspection YAMLSchemaValidation
main: ${project.mainClass} main: ${project.mainClass}
folia-supported: true folia-supported: true