diff --git a/command/build.gradle.kts b/command/build.gradle.kts index 76b5206..22a50e4 100644 --- a/command/build.gradle.kts +++ b/command/build.gradle.kts @@ -6,7 +6,7 @@ plugins { dependencies { compileOnly(libs.kotlin.coroutines.core) compileOnly(libs.kotlin.serialization.json) - compileOnly("com.mojang:brigadier:1.0.18") + compileOnly("com.mojang:brigadier:1.0.500") testImplementation(libs.tests.kotlin.test) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e2f9226..1b1213d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,59 +1,59 @@ [versions] cache4k = "0.14.0" -discordsrv = "1.30.3" +discordsrv = "1.30.4" driver-h2 = "2.4.240" driver-jdbc = "3.51.1.0" -driver-mariadb = "3.5.6" +driver-mariadb = "3.5.7" driver-mysql = "8.0.33" -exposed = "0.61.0" +exposed = "1.0.0" forgegradle = "[6.0,6.2)" -gradle-buildconfig = "6.0.6" -gradle-ftp = "0.1.2" +gradle-buildconfig = "6.0.7" +gradle-ftp = "0.1.3" gradle-shadow = "9.2.2" gson = "2.13.2" guava = "33.5.0-jre" -jda = "6.1.3" +jda = "6.3.0" jda-webhook = "0.8.4" klibs-gradleplugin = "1.13.2" klibs-kdi = "1.4.8" -klibs-kstorage = "4.4.1" -klibs-mikro = "1.16.1" +klibs-kstorage = "4.5.0" +klibs-mikro = "1.19.0" kotlin-benchmark = "0.4.15" kotlin-coroutines = "1.10.2" kotlin-datetime = "0.7.1-0.6.x-compat" -kotlin-json = "1.9.0" -kotlin-serialization = "1.9.0" +kotlin-json = "1.10.0" +kotlin-serialization = "1.10.0" kotlin-serialization-kaml = "0.104.0" kotlin-version = "2.2.0" -ktor = "3.3.3" +ktor = "3.4.0" minecraft-astralibs = "3.31.1" minecraft-bstats = "3.1.0" minecraft-bungee = "1.21-R0.5-SNAPSHOT" minecraft-essentialsx = "2.21.2" -minecraft-fabric-api = "0.139.5+" -minecraft-fabric-kotlin = "1.13.7+" -minecraft-fabric-loader = "0.18.2" -minecraft-fabric-loom = "1.14.6" -minecraft-kyori = "4.25.0" +minecraft-fabric-api = "0.143.0+" +minecraft-fabric-kotlin = "1.13.8+" +minecraft-fabric-loader = "0.18.4" +minecraft-fabric-loom = "1.15.3" +minecraft-kyori = "4.26.1" minecraft-luckperms = "5.5" minecraft-mcprotocollib = "1.21.7-SNAPSHOT" minecraft-mockbukkit = "4.33.2" minecraft-mojang-version = "1.20.1" -minecraft-neoforgeversion = "21.1.129" -minecraft-packetevents = "2.11.0" +minecraft-neoforgeversion = "21.10.64" +minecraft-packetevents = "2.11.2" minecraft-papi = "2.11.7" minecraft-protocollib = "5.3.0" minecraft-spigot = "1.21.9-R0.1-SNAPSHOT" minecraft-towny = "0.102.0.0" minecraft-vault = "1.7.1" minecraft-velocity = "4.0.0-SNAPSHOT" -minecraft-neoforgegradle = "7.1.11" +minecraft-neoforgegradle = "7.1.20" minecraft-forgeversion = "47.2.20" -telegrambots = "9.2.0" -tests-junit-bom = "6.0.1" -tests-junit-jupiter-api = "6.0.1" +telegrambots = "9.2.1" +tests-junit-bom = "6.0.2" +tests-junit-jupiter-api = "6.0.2" tests-mockito = "5.21.0" -tests-org-testing = "7.11.0" +tests-org-testing = "7.12.0" tests-turbine = "1.2.1" [libraries] diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index f8e1ee3..61285a6 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index bad7c24..37f78a6 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/gradlew.bat b/gradlew.bat old mode 100644 new mode 100755 index c4bdd3a..e509b2d --- a/gradlew.bat +++ b/gradlew.bat @@ -1,93 +1,93 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem -@rem SPDX-License-Identifier: Apache-2.0 -@rem - -@if "%DEBUG%"=="" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%"=="" set DIRNAME=. -@rem This is normally unused -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if %ERRORLEVEL% equ 0 goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:execute -@rem Setup the command line - - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* - -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:execute +@rem Setup the command line + + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega