The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

gradle: Bump AGP to 8.1.0 and Gradle 8.0

Signed-off-by: utzcoz <utzcoz@outlook.com>

authored by

utzcoz and committed by
Rylie Pavlik
01fc8642 30ebd2fe

+30 -13
+2 -2
build.gradle
··· 36 36 } 37 37 plugins { 38 38 // Android Gradle Plugin 39 - id 'com.android.application' version '7.1.2' apply false 40 - id 'com.android.library' version '7.1.2' apply false 39 + id 'com.android.application' version '8.1.0' apply false 40 + id 'com.android.library' version '8.1.0' apply false 41 41 42 42 id 'org.jetbrains.kotlin.android' version "$kotlinVersion" apply false 43 43
+3
gradle.properties
··· 1 1 # Copyright 2020, Collabora, Ltd. 2 2 # SPDX-License-Identifier: BSL-1.0 3 3 4 + android.defaults.buildfeatures.buildconfig=true 5 + android.nonFinalResIds=false 6 + android.nonTransitiveRClass=false 4 7 android.useAndroidX = true 5 8
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-7.4.2-all.zip 3 + distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip 4 + networkTimeout=10000 4 5 zipStoreBase=GRADLE_USER_HOME 5 6 zipStorePath=wrapper/dists
+14 -4
gradlew
··· 56 56 # Darwin, MinGW, and NonStop. 57 57 # 58 58 # (3) This script is generated from the Groovy template 59 - # https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt 59 + # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt 60 60 # within the Gradle project. 61 61 # 62 62 # You can find Gradle at https://github.com/gradle/gradle/. ··· 81 81 esac 82 82 done 83 83 84 - APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit 85 - 86 - APP_NAME="Gradle" 84 + # This is normally unused 85 + # shellcheck disable=SC2034 87 86 APP_BASE_NAME=${0##*/} 87 + APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit 88 88 89 89 # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 90 90 DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' ··· 144 144 if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then 145 145 case $MAX_FD in #( 146 146 max*) 147 + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. 148 + # shellcheck disable=SC3045 147 149 MAX_FD=$( ulimit -H -n ) || 148 150 warn "Could not query maximum file descriptor limit" 149 151 esac 150 152 case $MAX_FD in #( 151 153 '' | soft) :;; #( 152 154 *) 155 + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. 156 + # shellcheck disable=SC3045 153 157 ulimit -n "$MAX_FD" || 154 158 warn "Could not set maximum file descriptor limit to $MAX_FD" 155 159 esac ··· 205 209 -classpath "$CLASSPATH" \ 206 210 org.gradle.wrapper.GradleWrapperMain \ 207 211 "$@" 212 + 213 + # Stop when "xargs" is not available. 214 + if ! command -v xargs >/dev/null 2>&1 215 + then 216 + die "xargs is not available" 217 + fi 208 218 209 219 # Use "xargs" to parse quoted args. 210 220 #
+9 -6
gradlew.bat
··· 15 15 @rem 16 16 @rem SPDX-License-Identifier: Apache-2.0 17 17 18 - @if "%DEBUG%" == "" @echo off 18 + @if "%DEBUG%"=="" @echo off 19 19 @rem ########################################################################## 20 20 @rem 21 21 @rem Gradle startup script for Windows ··· 26 26 if "%OS%"=="Windows_NT" setlocal 27 27 28 28 set DIRNAME=%~dp0 29 - if "%DIRNAME%" == "" set DIRNAME=. 29 + if "%DIRNAME%"=="" set DIRNAME=. 30 + @rem This is normally unused 30 31 set APP_BASE_NAME=%~n0 31 32 set APP_HOME=%DIRNAME% 32 33 ··· 41 42 42 43 set JAVA_EXE=java.exe 43 44 %JAVA_EXE% -version >NUL 2>&1 44 - if "%ERRORLEVEL%" == "0" goto execute 45 + if %ERRORLEVEL% equ 0 goto execute 45 46 46 47 echo. 47 48 echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. ··· 76 77 77 78 :end 78 79 @rem End local scope for the variables with windows NT shell 79 - if "%ERRORLEVEL%"=="0" goto mainEnd 80 + if %ERRORLEVEL% equ 0 goto mainEnd 80 81 81 82 :fail 82 83 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 84 rem the _cmd.exe /c_ return code! 84 - if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 - exit /b 1 85 + set EXIT_CODE=%ERRORLEVEL% 86 + if %EXIT_CODE% equ 0 set EXIT_CODE=1 87 + if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% 88 + exit /b %EXIT_CODE% 86 89 87 90 :mainEnd 88 91 if "%OS%"=="Windows_NT" endlocal