From f9cf454caa42e4948dc2dce5294b7885a51acf3c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2026 05:45:57 +0000 Subject: [PATCH] build(deps): bump the versions group with 21 updates Bumps the versions group with 21 updates: | Package | From | To | | --- | --- | --- | | [gradle-wrapper](https://github.com/gradle/gradle) | `9.5.1` | `9.6.1` | | [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework) | `3.12.0` | `4.2.0` | | [io.ktor:ktor-client-cio](https://github.com/ktorio/ktor) | `3.5.0` | `3.5.1` | | [io.ktor:ktor-client-content-negotiation](https://github.com/ktorio/ktor) | `3.5.0` | `3.5.1` | | [io.ktor:ktor-client-core](https://github.com/ktorio/ktor) | `3.5.0` | `3.5.1` | | [io.ktor:ktor-client-json](https://github.com/ktorio/ktor) | `3.5.0` | `3.5.1` | | [io.ktor:ktor-client-logging](https://github.com/ktorio/ktor) | `3.5.0` | `3.5.1` | | [io.ktor:ktor-serialization-kotlinx-json](https://github.com/ktorio/ktor) | `3.5.0` | `3.5.1` | | [net.minecraftforge:eventbus](https://github.com/MinecraftForge/EventBus) | `6.0.5` | `7.0.5` | | [net.kyori:adventure-api](https://github.com/PaperMC/adventure) | `5.1.1` | `5.2.0` | | [net.kyori:adventure-text-serializer-gson](https://github.com/PaperMC/adventure) | `5.1.1` | `5.2.0` | | [net.kyori:adventure-text-serializer-legacy](https://github.com/PaperMC/adventure) | `5.1.1` | `5.2.0` | | [net.kyori:adventure-text-minimessage](https://github.com/PaperMC/adventure) | `5.1.1` | `5.2.0` | | [net.kyori:adventure-text-serializer-plain](https://github.com/PaperMC/adventure) | `5.1.1` | `5.2.0` | | com.velocitypowered:velocity-api | `3.5.0-SNAPSHOT` | `4.0.0-SNAPSHOT` | | [org.junit:junit-bom](https://github.com/junit-team/junit-framework) | `6.1.0` | `6.1.1` | | [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit-framework) | `6.1.0` | `6.1.1` | | fabric-loom | `1.17.12` | `1.17.13` | | net.minecraftforge.gradle | `7.0.29` | `7.0.31` | | net.minecraftforge.renamer | `1.1.2` | `1.1.3` | | [com.gradleup.shadow](https://github.com/GradleUp/shadow) | `9.4.2` | `9.4.3` | Updates `gradle-wrapper` from 9.5.1 to 9.6.1 - [Release notes](https://github.com/gradle/gradle/releases) - [Commits](https://github.com/gradle/gradle/compare/v9.5.1...v9.6.1) Updates `org.checkerframework:checker-qual` from 3.12.0 to 4.2.0 - [Release notes](https://github.com/typetools/checker-framework/releases) - [Changelog](https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md) - [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.12.0...checker-framework-4.2.0) Updates `io.ktor:ktor-client-cio` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `io.ktor:ktor-client-content-negotiation` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `io.ktor:ktor-client-core` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `io.ktor:ktor-client-json` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `io.ktor:ktor-client-logging` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `io.ktor:ktor-serialization-kotlinx-json` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `io.ktor:ktor-client-content-negotiation` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `io.ktor:ktor-client-core` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `io.ktor:ktor-client-json` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `io.ktor:ktor-client-logging` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `io.ktor:ktor-serialization-kotlinx-json` from 3.5.0 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.0...3.5.1) Updates `net.minecraftforge:eventbus` from 6.0.5 to 7.0.5 - [Commits](https://github.com/MinecraftForge/EventBus/commits) Updates `net.kyori:adventure-api` from 5.1.1 to 5.2.0 - [Release notes](https://github.com/PaperMC/adventure/releases) - [Commits](https://github.com/PaperMC/adventure/compare/v5.1.1...v5.2.0) Updates `net.kyori:adventure-text-serializer-gson` from 5.1.1 to 5.2.0 - [Release notes](https://github.com/PaperMC/adventure/releases) - [Commits](https://github.com/PaperMC/adventure/compare/v5.1.1...v5.2.0) Updates `net.kyori:adventure-text-serializer-legacy` from 5.1.1 to 5.2.0 - [Release notes](https://github.com/PaperMC/adventure/releases) - [Commits](https://github.com/PaperMC/adventure/compare/v5.1.1...v5.2.0) Updates `net.kyori:adventure-text-minimessage` from 5.1.1 to 5.2.0 - [Release notes](https://github.com/PaperMC/adventure/releases) - [Commits](https://github.com/PaperMC/adventure/compare/v5.1.1...v5.2.0) Updates `net.kyori:adventure-text-serializer-plain` from 5.1.1 to 5.2.0 - [Release notes](https://github.com/PaperMC/adventure/releases) - [Commits](https://github.com/PaperMC/adventure/compare/v5.1.1...v5.2.0) Updates `net.kyori:adventure-text-serializer-gson` from 5.1.1 to 5.2.0 - [Release notes](https://github.com/PaperMC/adventure/releases) - [Commits](https://github.com/PaperMC/adventure/compare/v5.1.1...v5.2.0) Updates `net.kyori:adventure-text-serializer-legacy` from 5.1.1 to 5.2.0 - [Release notes](https://github.com/PaperMC/adventure/releases) - [Commits](https://github.com/PaperMC/adventure/compare/v5.1.1...v5.2.0) Updates `net.kyori:adventure-text-minimessage` from 5.1.1 to 5.2.0 - [Release notes](https://github.com/PaperMC/adventure/releases) - [Commits](https://github.com/PaperMC/adventure/compare/v5.1.1...v5.2.0) Updates `net.kyori:adventure-text-serializer-plain` from 5.1.1 to 5.2.0 - [Release notes](https://github.com/PaperMC/adventure/releases) - [Commits](https://github.com/PaperMC/adventure/compare/v5.1.1...v5.2.0) Updates `com.velocitypowered:velocity-api` from 3.5.0-SNAPSHOT to 4.0.0-SNAPSHOT Updates `org.junit:junit-bom` from 6.1.0 to 6.1.1 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.0...r6.1.1) Updates `org.junit.jupiter:junit-jupiter-api` from 6.1.0 to 6.1.1 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.0...r6.1.1) Updates `fabric-loom` from 1.17.12 to 1.17.13 Updates `net.minecraftforge.gradle` from 7.0.29 to 7.0.31 Updates `net.minecraftforge.renamer` from 1.1.2 to 1.1.3 Updates `com.gradleup.shadow` from 9.4.2 to 9.4.3 - [Release notes](https://github.com/GradleUp/shadow/releases) - [Commits](https://github.com/GradleUp/shadow/compare/9.4.2...9.4.3) --- updated-dependencies: - dependency-name: gradle-wrapper dependency-version: 9.6.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: versions - dependency-name: org.checkerframework:checker-qual dependency-version: 4.2.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: versions - dependency-name: io.ktor:ktor-client-cio dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: io.ktor:ktor-client-content-negotiation dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: io.ktor:ktor-client-core dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: io.ktor:ktor-client-json dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: io.ktor:ktor-client-logging dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: io.ktor:ktor-serialization-kotlinx-json dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: io.ktor:ktor-client-content-negotiation dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: io.ktor:ktor-client-core dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: io.ktor:ktor-client-json dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: io.ktor:ktor-client-logging dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: io.ktor:ktor-serialization-kotlinx-json dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: net.minecraftforge:eventbus dependency-version: 7.0.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: versions - dependency-name: net.kyori:adventure-api dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: versions - dependency-name: net.kyori:adventure-text-serializer-gson dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: versions - dependency-name: net.kyori:adventure-text-serializer-legacy dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: versions - dependency-name: net.kyori:adventure-text-minimessage dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: versions - dependency-name: net.kyori:adventure-text-serializer-plain dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: versions - dependency-name: net.kyori:adventure-text-serializer-gson dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: versions - dependency-name: net.kyori:adventure-text-serializer-legacy dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: versions - dependency-name: net.kyori:adventure-text-minimessage dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: versions - dependency-name: net.kyori:adventure-text-serializer-plain dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: versions - dependency-name: com.velocitypowered:velocity-api dependency-version: 4.0.0-SNAPSHOT dependency-type: direct:production update-type: version-update:semver-major dependency-group: versions - dependency-name: org.junit:junit-bom dependency-version: 6.1.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: org.junit.jupiter:junit-jupiter-api dependency-version: 6.1.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: fabric-loom dependency-version: 1.17.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: net.minecraftforge.gradle dependency-version: 7.0.31 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: net.minecraftforge.renamer dependency-version: 1.1.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions - dependency-name: com.gradleup.shadow dependency-version: 9.4.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: versions ... Signed-off-by: dependabot[bot] --- gradle/libs.versions.toml | 22 +-- gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew | 4 +- gradlew.bat | 164 +++++++++++------------ 4 files changed, 96 insertions(+), 96 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c439ac4..3441523 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] cache4k = "0.14.0" # https://github.com/ReactiveCircus/cache4k -checkerfraemwork-qual = "3.12.0" # https://github.com/typetools/checker-framework/ +checkerfraemwork-qual = "4.2.0" # https://github.com/typetools/checker-framework/ discordsrv = "1.30.5" # https://github.com/DiscordSRV/DiscordSRV driver-h2 = "2.4.240" # https://github.com/h2database/h2database driver-jdbc = "3.53.2.0" # https://github.com/xerial/sqlite-jdbc @@ -9,7 +9,7 @@ driver-mysql = "9.7.0" # https://github.com/mysql/mysql-connector-j exposed = "1.3.0" # https://github.com/JetBrains/Exposed gradle-buildconfig = "6.0.10" # https://github.com/gmazzo/gradle-buildconfig-plugin gradle-ftp = "0.2.0" # https://github.com/makeevrserg/GradleFtpPlugin -gradle-shadow = "9.4.2" # https://github.com/GradleUp/shadow +gradle-shadow = "9.4.3" # https://github.com/GradleUp/shadow gson = "2.14.0" # https://github.com/google/gson guava = "33.6.0-jre" # https://github.com/google/guava jda = "6.4.2" # https://github.com/discord-jda/JDA @@ -25,7 +25,7 @@ kotlin-datetime = "0.8.0" # https://github.com/Kotlin/kotlinx-datetime kotlin-serialization = "1.11.0" # https://github.com/kotlin/kotlinx.serialization kotlin-serialization-kaml = "0.104.0" # https://github.com/charleskorn/kaml kotlin-version = "2.4.0" # https://github.com/jetbrains/kotlin -ktor = "3.5.0" # https://github.com/ktorio/ktor +ktor = "3.5.1" # https://github.com/ktorio/ktor minecraft-astralibs = "3.41.0" # https://github.com/Astra-Interactive/AstraLibs minecraft-authlib = "6.0.54" # https://mvnrepository.com/artifact/com.mojang/authlib minecraft-brigadier = "1.3.10" # https://github.com/Mojang/brigadier @@ -36,14 +36,14 @@ minecraft-essentialsx = "2.21.2" # https://github.com/EssentialsX/Essentials minecraft-fabric-api = "0.152.2+" # https://github.com/FabricMC/fabric minecraft-fabric-kotlin = "1.13.12+" # https://github.com/FabricMC/fabric-language-kotlin minecraft-fabric-loader = "0.19.3" # https://github.com/FabricMC/fabric-loader -minecraft-fabric-loom = "1.17.12" # https://github.com/FabricMC/fabric-loom +minecraft-fabric-loom = "1.17.13" # https://github.com/FabricMC/fabric-loom minecraft-fabric-yarn = "1.20.1+build.10" # https://github.com/FabricMC/yarn -minecraft-forge-bus = "6.0.5" # https://github.com/MinecraftForge/EventBus -minecraft-forgegradle = "7.0.29" # https://github.com/MinecraftForge/ForgeGradle +minecraft-forge-bus = "7.0.5" # https://github.com/MinecraftForge/EventBus +minecraft-forgegradle = "7.0.31" # https://github.com/MinecraftForge/ForgeGradle minecraft-forge-jarjar = "0.2.3" -minecraft-forgerenamer = "1.1.2" # https://github.com/MinecraftForge/renamer +minecraft-forgerenamer = "1.1.3" # https://github.com/MinecraftForge/renamer minecraft-forgeversion = "1.20.1-47.4.12" # https://github.com/MinecraftForge/MinecraftForge -minecraft-kyori = "5.1.1" # https://github.com/KyoriPowered/adventure +minecraft-kyori = "5.2.0" # https://github.com/KyoriPowered/adventure minecraft-luckperms = "5.5" # https://github.com/LuckPerms/LuckPerms minecraft-mcprotocollib = "26.1-SNAPSHOT" # https://github.com/GeyserMC/MCProtocolLib minecraft-mockbukkit = "4.113.2" # https://github.com/MockBukkit/MockBukkit @@ -56,10 +56,10 @@ minecraft-papi = "2.12.2" # https://github.com/PlaceholderAPI/PlaceholderAPI minecraft-protocollib = "5.4.0" # https://github.com/dmulloy2/ProtocolLib minecraft-spigot = "26.1.2.build.+" # https://www.spigotmc.org minecraft-vault = "1.7.1" # https://github.com/MilkBowl/VaultAPI -minecraft-velocity = "3.5.0-SNAPSHOT" # https://github.com/PaperMC/Velocity +minecraft-velocity = "4.0.0-SNAPSHOT" # https://github.com/PaperMC/Velocity telegrambots = "10.0.0" # https://github.com/rubenlagus/TelegramBots -tests-junit-bom = "6.1.0" # https://github.com/junit-team/junit5 -tests-junit-jupiter-api = "6.1.0" # https://github.com/junit-team/junit5 +tests-junit-bom = "6.1.1" # https://github.com/junit-team/junit5 +tests-junit-jupiter-api = "6.1.1" # https://github.com/junit-team/junit5 tests-mockito = "5.23.0" # https://github.com/mockito/mockito tests-org-testing = "7.12.0" # https://github.com/testng-team/testng tests-turbine = "1.2.1" # https://github.com/cashapp/turbine diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index df6a6ad..a9db115 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.5.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip networkTimeout=10000 retries=0 retryBackOffMs=500 diff --git a/gradlew b/gradlew index b9bb139..249efbb 100755 --- a/gradlew +++ b/gradlew @@ -20,7 +20,7 @@ ############################################################################## # -# Gradle start up script for POSIX generated by Gradle. +# gradlew start up script for POSIX generated by Gradle. # # Important for running: # @@ -29,7 +29,7 @@ # bash, then to run this script, type that shell name before the whole # command line, like: # -# ksh Gradle +# ksh gradlew # # Busybox and similar reduced shells will NOT work, because this script # requires all of these POSIX shell features: diff --git a/gradlew.bat b/gradlew.bat index 24c62d5..8508ef6 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -1,82 +1,82 @@ -@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, and ensure extensions are enabled -setlocal EnableExtensions - -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 - -"%COMSPEC%" /c exit 1 - -: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 - -"%COMSPEC%" /c exit 1 - -:execute -@rem Setup the command line - - - -@rem Execute Gradle -@rem endlocal doesn't take effect until after the line is parsed and variables are expanded -@rem which allows us to clear the local environment before executing the java command -endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel - -:exitWithErrorLevel -@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts -"%COMSPEC%" /c exit %ERRORLEVEL% +@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 gradlew startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables, and ensure extensions are enabled +setlocal EnableExtensions + +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 + +"%COMSPEC%" /c exit 1 + +: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 + +"%COMSPEC%" /c exit 1 + +:execute +@rem Setup the command line + + + +@rem Execute gradlew +@rem endlocal doesn't take effect until after the line is parsed and variables are expanded +@rem which allows us to clear the local environment before executing the java command +endlocal & "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* & call :exitWithErrorLevel + +:exitWithErrorLevel +@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts +"%COMSPEC%" /c exit %ERRORLEVEL%