2023-03-21 14:16:14 +01:00
|
|
|
@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
|
2024-07-12 00:03:34 +00:00
|
|
|
@rem SPDX-License-Identifier: Apache-2.0
|
|
|
|
@rem
|
2023-03-21 14:16:14 +01:00
|
|
|
|
2023-11-22 01:02:54 +00:00
|
|
|
@if "%DEBUG%"=="" @echo off
|
2023-03-21 14:16:14 +01:00
|
|
|
@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
|
2023-11-22 01:02:54 +00:00
|
|
|
if "%DIRNAME%"=="" set DIRNAME=.
|
|
|
|
@rem This is normally unused
|
2023-03-21 14:16:14 +01:00
|
|
|
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
|
2023-11-22 01:02:54 +00:00
|
|
|
if %ERRORLEVEL% equ 0 goto execute
|
2023-03-21 14:16:14 +01:00
|
|
|
|
Update dependency gradle to v8.6 (#30)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [gradle](https://gradle.org) ([source](https://github.com/gradle/gradle)) | minor | `8.5` -> `8.6` |
---
### Release Notes
<details>
<summary>gradle/gradle (gradle)</summary>
### [`v8.6`](https://github.com/gradle/gradle/releases/tag/v8.6.0): 8.6
[Compare Source](https://github.com/gradle/gradle/compare/v8.5.0...v8.6.0)
The Gradle team is excited to announce Gradle 8.6.
[Read the Release Notes](https://docs.gradle.org/8.6/release-notes.html)
We would like to thank the following community members for their contributions to this release of Gradle:
[Baptiste Decroix](https://github.com/bdecroix-spiria),
[Björn Kautler](https://github.com/Vampire),
[Daniel Lacasse](https://github.com/lacasseio),
[Danny Thomas](https://github.com/DanielThomas),
[Hyeonmin Park](https://github.com/KENNYSOFT),
[jeffalder](https://github.com/jeffalder),
[Jendrik Johannes](https://github.com/jjohannes),
[John Jiang](https://github.com/johnshajiang),
[Kaiyao Ke](https://github.com/kaiyaok2),
[Kevin Mark](https://github.com/kmark),
[king-tyler](https://github.com/king-tyler),
[Marcin Dąbrowski](https://github.com/marcindabrowski),
[Marcin Laskowski](https://github.com/ILikeYourHat),
[Markus Gaisbauer](https://github.com/quijote),
[Mel Arthurs](https://github.com/arthursmel),
[Ryan Schmitt](https://github.com/rschmitt),
[Surya K N](https://github.com/Surya-KN),
[Vladislav Golubtsov](https://github.com/Shmuser),
[Yanshun Li](https://github.com/Chaoba),
[Andrzej Ressel](https://github.com/andrzejressel)
#### Upgrade instructions
Switch your build to use Gradle 8.6 by updating your wrapper:
./gradlew wrapper --gradle-version=8.6
See the Gradle [8.x upgrade guide](https://docs.gradle.org/8.6/userguide/upgrading_version\_8.html) to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the [full compatibility notes](https://docs.gradle.org/8.6/userguide/compatibility.html).
#### Reporting problems
If you find a problem with this release, please file a bug on [GitHub Issues](https://github.com/gradle/gradle/issues) adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
We hope you will build happiness with Gradle, and we look forward to your feedback via [Twitter](https://twitter.com/gradle) or on [GitHub](https://github.com/gradle).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every day" (UTC), Automerge - "every weekend" (UTC).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Reviewed-on: https://git.helcel.net/helcel/beendroid/pulls/30
Co-authored-by: bot <bot@helcel.net>
Co-committed-by: bot <bot@helcel.net>
2024-02-08 03:01:15 +01:00
|
|
|
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
|
2023-03-21 14:16:14 +01:00
|
|
|
|
|
|
|
goto fail
|
|
|
|
|
|
|
|
:findJavaFromJavaHome
|
|
|
|
set JAVA_HOME=%JAVA_HOME:"=%
|
|
|
|
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
|
|
|
|
|
|
if exist "%JAVA_EXE%" goto execute
|
|
|
|
|
Update dependency gradle to v8.6 (#30)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [gradle](https://gradle.org) ([source](https://github.com/gradle/gradle)) | minor | `8.5` -> `8.6` |
---
### Release Notes
<details>
<summary>gradle/gradle (gradle)</summary>
### [`v8.6`](https://github.com/gradle/gradle/releases/tag/v8.6.0): 8.6
[Compare Source](https://github.com/gradle/gradle/compare/v8.5.0...v8.6.0)
The Gradle team is excited to announce Gradle 8.6.
[Read the Release Notes](https://docs.gradle.org/8.6/release-notes.html)
We would like to thank the following community members for their contributions to this release of Gradle:
[Baptiste Decroix](https://github.com/bdecroix-spiria),
[Björn Kautler](https://github.com/Vampire),
[Daniel Lacasse](https://github.com/lacasseio),
[Danny Thomas](https://github.com/DanielThomas),
[Hyeonmin Park](https://github.com/KENNYSOFT),
[jeffalder](https://github.com/jeffalder),
[Jendrik Johannes](https://github.com/jjohannes),
[John Jiang](https://github.com/johnshajiang),
[Kaiyao Ke](https://github.com/kaiyaok2),
[Kevin Mark](https://github.com/kmark),
[king-tyler](https://github.com/king-tyler),
[Marcin Dąbrowski](https://github.com/marcindabrowski),
[Marcin Laskowski](https://github.com/ILikeYourHat),
[Markus Gaisbauer](https://github.com/quijote),
[Mel Arthurs](https://github.com/arthursmel),
[Ryan Schmitt](https://github.com/rschmitt),
[Surya K N](https://github.com/Surya-KN),
[Vladislav Golubtsov](https://github.com/Shmuser),
[Yanshun Li](https://github.com/Chaoba),
[Andrzej Ressel](https://github.com/andrzejressel)
#### Upgrade instructions
Switch your build to use Gradle 8.6 by updating your wrapper:
./gradlew wrapper --gradle-version=8.6
See the Gradle [8.x upgrade guide](https://docs.gradle.org/8.6/userguide/upgrading_version\_8.html) to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the [full compatibility notes](https://docs.gradle.org/8.6/userguide/compatibility.html).
#### Reporting problems
If you find a problem with this release, please file a bug on [GitHub Issues](https://github.com/gradle/gradle/issues) adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
We hope you will build happiness with Gradle, and we look forward to your feedback via [Twitter](https://twitter.com/gradle) or on [GitHub](https://github.com/gradle).
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every day" (UTC), Automerge - "every weekend" (UTC).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Reviewed-on: https://git.helcel.net/helcel/beendroid/pulls/30
Co-authored-by: bot <bot@helcel.net>
Co-committed-by: bot <bot@helcel.net>
2024-02-08 03:01:15 +01:00
|
|
|
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
|
2023-03-21 14:16:14 +01:00
|
|
|
|
|
|
|
goto fail
|
|
|
|
|
|
|
|
:execute
|
|
|
|
@rem Setup the command line
|
|
|
|
|
|
|
|
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
|
|
|
|
|
|
|
|
|
|
@rem Execute Gradle
|
|
|
|
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
|
|
|
|
|
|
|
:end
|
|
|
|
@rem End local scope for the variables with windows NT shell
|
2023-11-22 01:02:54 +00:00
|
|
|
if %ERRORLEVEL% equ 0 goto mainEnd
|
2023-03-21 14:16:14 +01:00
|
|
|
|
|
|
|
:fail
|
|
|
|
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
|
|
rem the _cmd.exe /c_ return code!
|
2023-11-22 01:02:54 +00:00
|
|
|
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%
|
2023-03-21 14:16:14 +01:00
|
|
|
|
|
|
|
:mainEnd
|
|
|
|
if "%OS%"=="Windows_NT" endlocal
|
|
|
|
|
|
|
|
:omega
|