Apache Lucene open-source search software
Upgrade gradle to 9.8.0. (#16711)
Dawid Weissb28d73205006
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.tomlindex f5ba690c601..793fd8c2f2f 100644--- a/gradle/libs.versions.toml+++ b/gradle/libs.versions.toml@@ -36,7 +36,7 @@ jts = "1.20.0"junit = "4.13.2"junit5 = "6.1.3"# @keep Minimum gradle version to run the build-minGradle = "9.7.1"+minGradle = "9.8.0"# @keep This is the minimum required Java version.minJava = "25"# analysis/morfologik polish supportdiff --git a/gradle/wrapper/gradle-wrapper.jar.sha256 b/gradle/wrapper/gradle-wrapper.jar.sha256index 78e8dbbd2eb..ec78dd88685 100644--- a/gradle/wrapper/gradle-wrapper.jar.sha256+++ b/gradle/wrapper/gradle-wrapper.jar.sha256@@ -1 +1 @@-7a9ce74cff467ca1bf60a4fcd9f05185acceda4d0f382434d393e17864262c5d *gradle-wrapper.jar+238e777fcddd7e34f9708186085def2abd6e08e658505b38718d79d74c21abd5 *gradle-wrapper.jardiff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.propertiesindex 00fba3d33c8..1eca32e7b4b 100644--- a/gradle/wrapper/gradle-wrapper.properties+++ b/gradle/wrapper/gradle-wrapper.properties@@ -1,10 +1,10 @@distributionBase=GRADLE_USER_HOMEdistributionPath=wrapper/dists-distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip+distributionSha256Sum=bafd5ce9cfaea0fbccfdc8439a1ac42fbd4cd9c89dc9a988228d8a2639a58e6c+distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.0-bin.zipnetworkTimeout=10000retries=0retryBackOffMs=500validateDistributionUrl=truezipStoreBase=GRADLE_USER_HOMEzipStorePath=wrapper/dists-distributionSha256Sum=acd53f1edaf02f1a8ff99879f8a34b302661a057d9b063ae9e35b552f804d20adiff --git a/gradlew.bat b/gradlew.batindex 533b67f9cb0..792b1103419 100644--- a/gradlew.bat+++ b/gradlew.bat@@ -45,13 +45,14 @@ set JAVA_EXE=java.exe%JAVA_EXE% -version >NUL 2>&1if %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+1>&2 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."%COMSPEC%" /c exit 1+goto exitWithErrorLevel:findJavaFromJavaHomeset JAVA_HOME=%JAVA_HOME:"=%@@ -59,13 +60,14 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exeif 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+1>&2 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."%COMSPEC%" /c exit 1+goto exitWithErrorLevel:execute@rem Setup the command line@@ -133,8 +135,9 @@ goto exitWithErrorLevel@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+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 & goto exitWithErrorLevel+@rem This label must not be changed. We rely on old scripts being able to jump to this point.:exitWithErrorLevel@rem Use "%COMSPEC%" /c exit to allow operators to work properly in scripts"%COMSPEC%" /c exit %ERRORLEVEL%diff --git a/help/localSettings.md b/help/localSettings.mdindex c6b7d3b10de..1d887e590a9 100644--- a/help/localSettings.md+++ b/help/localSettings.md@@ -54,7 +54,7 @@ at the location the gradle wrapper expects for the "official" distribution.Local URLs work too, for example:```bash-LUCENE_GRADLE_DISTRIBUTION_URL=file:///path/to/gradle-9.7.1-bin.zip+LUCENE_GRADLE_DISTRIBUTION_URL=file:///path/to/gradle-9.8.0-bin.zip```Setting `LUCENE_GRADLE_VERIFY_CHECKSUMS=false` disables checksum verification in these bootstrap steps. Use this only if