From da4ff6e3b1fd4156eb07adefebd6b7c1bd4f5367 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 04:27:02 +0000 Subject: [PATCH] Bump the all-gradle-dependencies group across 1 directory with 21 updates Bumps the all-gradle-dependencies group with 21 updates in the / directory: | Package | From | To | | --- | --- | --- | | [gradle-wrapper](https://github.com/gradle/gradle) | `9.5.1` | `9.6.1` | | [org.springframework.boot:spring-boot-starter-web](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.boot:spring-boot-starter-data-jpa](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.boot:spring-boot-starter-validation](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.boot:spring-boot-starter-actuator](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.boot:spring-boot-starter-security](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.boot:spring-boot-starter-oauth2-resource-server](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.boot:spring-boot-starter-test](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.boot:spring-boot-webmvc-test](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.boot:spring-boot-devtools](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.boot:spring-boot-configuration-processor](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.boot](https://github.com/spring-projects/spring-boot) | `4.0.6` | `4.1.0` | | [org.springframework.security:spring-security-test](https://github.com/spring-projects/spring-security) | `7.0.5` | `7.1.0` | | [org.junit:junit-bom](https://github.com/junit-team/junit-framework) | `6.1.0` | `6.1.2` | | [org.openapitools:jackson-databind-nullable](https://github.com/OpenAPITools/jackson-databind-nullable) | `0.2.10` | `0.2.11` | | [net.datafaker:datafaker](https://github.com/datafaker-net/datafaker) | `2.5.4` | `2.7.0` | | [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc) | `42.7.11` | `42.7.13` | | software.amazon.awssdk:s3 | `2.45.1` | `2.49.5` | | com.github.ben-manes.versions | `0.54.0` | `0.56.0` | | [com.gradleup.shadow](https://github.com/GradleUp/shadow) | `9.4.2` | `9.6.1` | | com.diffplug.spotless | `8.6.0` | `8.9.0` | 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.springframework.boot:spring-boot-starter-web` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-data-jpa` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-validation` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-actuator` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-security` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-oauth2-resource-server` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-test` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-webmvc-test` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-devtools` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-configuration-processor` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-data-jpa` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-validation` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-actuator` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-security` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-oauth2-resource-server` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-starter-test` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-webmvc-test` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-devtools` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.boot:spring-boot-configuration-processor` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `org.springframework.security:spring-security-test` from 7.0.5 to 7.1.0 - [Release notes](https://github.com/spring-projects/spring-security/releases) - [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc) - [Commits](https://github.com/spring-projects/spring-security/compare/7.0.5...7.1.0) Updates `org.junit:junit-bom` from 6.1.0 to 6.1.2 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](https://github.com/junit-team/junit-framework/compare/r6.1.0...r6.1.2) Updates `org.openapitools:jackson-databind-nullable` from 0.2.10 to 0.2.11 - [Release notes](https://github.com/OpenAPITools/jackson-databind-nullable/releases) - [Commits](https://github.com/OpenAPITools/jackson-databind-nullable/compare/v0.2.10...v0.2.11) Updates `net.datafaker:datafaker` from 2.5.4 to 2.7.0 - [Release notes](https://github.com/datafaker-net/datafaker/releases) - [Changelog](https://github.com/datafaker-net/datafaker/blob/main/RELEASE_PROCESS.md) - [Commits](https://github.com/datafaker-net/datafaker/compare/2.5.4...2.7.0) Updates `org.postgresql:postgresql` from 42.7.11 to 42.7.13 - [Release notes](https://github.com/pgjdbc/pgjdbc/releases) - [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md) - [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.7.11...REL42.7.13) Updates `software.amazon.awssdk:s3` from 2.45.1 to 2.49.5 Updates `org.springframework.boot` from 4.0.6 to 4.1.0 - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.6...v4.1.0) Updates `com.github.ben-manes.versions` from 0.54.0 to 0.56.0 Updates `com.gradleup.shadow` from 9.4.2 to 9.6.1 - [Release notes](https://github.com/GradleUp/shadow/releases) - [Commits](https://github.com/GradleUp/shadow/compare/9.4.2...9.6.1) Updates `com.diffplug.spotless` from 8.6.0 to 8.9.0 --- updated-dependencies: - dependency-name: gradle-wrapper dependency-version: 9.6.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-web dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-data-jpa dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-validation dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-actuator dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-security dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-oauth2-resource-server dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-test dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-webmvc-test dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-devtools dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-configuration-processor dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-data-jpa dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-validation dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-actuator dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-security dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-oauth2-resource-server dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-starter-test dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-webmvc-test dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-devtools dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot:spring-boot-configuration-processor dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.security:spring-security-test dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.junit:junit-bom dependency-version: 6.1.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-gradle-dependencies - dependency-name: org.openapitools:jackson-databind-nullable dependency-version: 0.2.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-gradle-dependencies - dependency-name: net.datafaker:datafaker dependency-version: 2.7.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.postgresql:postgresql dependency-version: 42.7.13 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-gradle-dependencies - dependency-name: software.amazon.awssdk:s3 dependency-version: 2.49.5 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: org.springframework.boot dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: com.github.ben-manes.versions dependency-version: 0.56.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: com.gradleup.shadow dependency-version: 9.6.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies - dependency-name: com.diffplug.spotless dependency-version: 8.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-gradle-dependencies ... Signed-off-by: dependabot[bot] --- gradle/libs.versions.toml | 20 +-- gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew | 4 +- gradlew.bat | 164 +++++++++++------------ 4 files changed, 95 insertions(+), 95 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 51b7b9f..f4fd77c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -20,7 +20,7 @@ shadow = { id = "com.gradleup.shadow", version.ref = "shadow-plugin" } # sonarqube = { id = "org.sonarqube", version.ref = "sonarqube-plugin" } spotless = { id = "com.diffplug.spotless", version.ref = "spotless-plugin" } -spring-boot-version = "4.0.6" +spring-boot-version = "4.1.0" ## ⬆ = "3.5.8" ## ⬆ = "4.0.0-M1" ## ⬆ = "4.0.0-M2" @@ -28,7 +28,7 @@ spring-boot-version = "4.0.6" ## ⬆ = "4.0.0-RC1" ## ⬆ = "4.0.0-RC2" ## ⬆ = "4.0.0" -spring-security-test-version = "7.0.5" +spring-security-test-version = "7.1.0" ## ⬆ = "6.5.7" ## ⬆ = "7.0.0-M1" ## ⬆ = "7.0.0-M2" @@ -43,14 +43,14 @@ lombok-plugin = "9.5.0" ## ⬆ = "9.0.0-rc2" ## ⬆ = "9.0.0" ## ⬆ = "9.1.0" -versions-plugin = "0.54.0" +versions-plugin = "0.56.0" ## ⬆ = "0.53.0" -shadow-plugin = "9.4.2" +shadow-plugin = "9.6.1" # sonarqube-plugin = "6.3.1.5724" -spotless-plugin = "8.6.0" +spotless-plugin = "8.9.0" ## ⬆ = "8.1.0" -jackson-databind-nullable = "0.2.10" +jackson-databind-nullable = "0.2.11" ## ⬆ = "0.2.8" springdoc-openapi-ui = "3.0.3" ## ⬆ = "2.8.14" @@ -58,7 +58,7 @@ springdoc-openapi-ui = "3.0.3" ## ⬆ = "3.0.0-RC1" ## ⬆ = "3.0.0" # commons-lang3 = "3.18.0" -datafaker = "2.5.4" +datafaker = "2.7.0" ## ⬆ = "2.5.0" ## ⬆ = "2.5.1" ## ⬆ = "2.5.2" @@ -67,15 +67,15 @@ datafaker = "2.5.4" # jsonunit-assertj = "4.1.1" mapstruct = "1.6.3" h2 = "2.3.232" -junit-bom = "6.1.0" +junit-bom = "6.1.2" ## ⬆ = "6.0.1" ## ⬆ = "6.1.0-M1" instancio = "5.6.0" -postgresql = "42.7.11" +postgresql = "42.7.13" ## ⬆ = "42.7.6" ## ⬆ = "42.7.7" ## ⬆ = "42.7.8" -aws-sdk = "2.45.1" +aws-sdk = "2.49.5" ## ⬆ = "2.29.16" ## ⬆ = "2.29.17" ## ⬆ = "2.29.18" 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%