The open source OpenXR runtime

gradle: Update gradle to 8.12

Signed-off-by: utzcoz <utzcoz@outlook.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2382>

authored by utzcoz and committed by korejan f9220ba9 03c73853

gradle/wrapper/gradle-wrapper.jar

This is a binary file and will not be displayed.

+2 -1
gradle/wrapper/gradle-wrapper.properties
··· 1 1 distributionBase=GRADLE_USER_HOME 2 2 distributionPath=wrapper/dists 3 - distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip 3 + distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip 4 4 networkTimeout=10000 5 + validateDistributionUrl=true 5 6 zipStoreBase=GRADLE_USER_HOME 6 7 zipStorePath=wrapper/dists
+21 -14
gradlew
··· 1 1 #!/bin/sh 2 - # SPDX-License-Identifier: Apache-2.0 3 2 4 3 # 5 4 # Copyright © 2015-2021 the original authors. ··· 15 14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 15 # See the License for the specific language governing permissions and 17 16 # limitations under the License. 17 + # 18 + # SPDX-License-Identifier: Apache-2.0 18 19 # 19 20 20 21 ############################################################################## ··· 56 57 # Darwin, MinGW, and NonStop. 57 58 # 58 59 # (3) This script is generated from the Groovy template 59 - # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt 60 + # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt 60 61 # within the Gradle project. 61 62 # 62 63 # You can find Gradle at https://github.com/gradle/gradle/. ··· 84 85 # This is normally unused 85 86 # shellcheck disable=SC2034 86 87 APP_BASE_NAME=${0##*/} 87 - APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit 88 - 89 - # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 90 - DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 88 + # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) 89 + APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s 90 + ' "$PWD" ) || exit 91 91 92 92 # Use the maximum available, or set MAX_FD != -1 to use that value. 93 93 MAX_FD=maximum ··· 134 134 fi 135 135 else 136 136 JAVACMD=java 137 - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 137 + if ! command -v java >/dev/null 2>&1 138 + then 139 + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 138 140 139 141 Please set the JAVA_HOME variable in your environment to match the 140 142 location of your Java installation." 143 + fi 141 144 fi 142 145 143 146 # Increase the maximum file descriptors if we can. ··· 145 148 case $MAX_FD in #( 146 149 max*) 147 150 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. 148 - # shellcheck disable=SC3045 151 + # shellcheck disable=SC2039,SC3045 149 152 MAX_FD=$( ulimit -H -n ) || 150 153 warn "Could not query maximum file descriptor limit" 151 154 esac ··· 153 156 '' | soft) :;; #( 154 157 *) 155 158 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. 156 - # shellcheck disable=SC3045 159 + # shellcheck disable=SC2039,SC3045 157 160 ulimit -n "$MAX_FD" || 158 161 warn "Could not set maximum file descriptor limit to $MAX_FD" 159 162 esac ··· 198 201 done 199 202 fi 200 203 201 - # Collect all arguments for the java command; 202 - # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of 203 - # shell script including quotes and variable substitutions, so put them in 204 - # double quotes to make sure that they get re-expanded; and 205 - # * put everything else in single quotes, so that it's not re-expanded. 204 + 205 + # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 206 + DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 207 + 208 + # Collect all arguments for the java command: 209 + # * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, 210 + # and any embedded shellness will be escaped. 211 + # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be 212 + # treated as '${Hostname}' itself on the command line. 206 213 207 214 set -- \ 208 215 "-Dorg.gradle.appname=$APP_BASE_NAME" \
+11 -10
gradlew.bat
··· 14 14 @rem limitations under the License. 15 15 @rem 16 16 @rem SPDX-License-Identifier: Apache-2.0 17 + @rem 17 18 18 19 @if "%DEBUG%"=="" @echo off 19 20 @rem ########################################################################## ··· 44 45 %JAVA_EXE% -version >NUL 2>&1 45 46 if %ERRORLEVEL% equ 0 goto execute 46 47 47 - echo. 48 - echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 49 - echo. 50 - echo Please set the JAVA_HOME variable in your environment to match the 51 - echo location of your Java installation. 48 + echo. 1>&2 49 + echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 50 + echo. 1>&2 51 + echo Please set the JAVA_HOME variable in your environment to match the 1>&2 52 + echo location of your Java installation. 1>&2 52 53 53 54 goto fail 54 55 ··· 58 59 59 60 if exist "%JAVA_EXE%" goto execute 60 61 61 - echo. 62 - echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 63 - echo. 64 - echo Please set the JAVA_HOME variable in your environment to match the 65 - echo location of your Java installation. 62 + echo. 1>&2 63 + echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 64 + echo. 1>&2 65 + echo Please set the JAVA_HOME variable in your environment to match the 1>&2 66 + echo location of your Java installation. 1>&2 66 67 67 68 goto fail 68 69