···3636}
3737plugins {
3838 // Android Gradle Plugin
3939- id 'com.android.application' version '7.1.2' apply false
4040- id 'com.android.library' version '7.1.2' apply false
3939+ id 'com.android.application' version '8.1.0' apply false
4040+ id 'com.android.library' version '8.1.0' apply false
41414242 id 'org.jetbrains.kotlin.android' version "$kotlinVersion" apply false
4343
···5656# Darwin, MinGW, and NonStop.
5757#
5858# (3) This script is generated from the Groovy template
5959-# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959+# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
6060# within the Gradle project.
6161#
6262# You can find Gradle at https://github.com/gradle/gradle/.
···8181 esac
8282done
83838484-APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8585-8686-APP_NAME="Gradle"
8484+# This is normally unused
8585+# shellcheck disable=SC2034
8786APP_BASE_NAME=${0##*/}
8787+APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
88888989# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
9090DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
···144144if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
145145 case $MAX_FD in #(
146146 max*)
147147+ # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
148148+ # shellcheck disable=SC3045
147149 MAX_FD=$( ulimit -H -n ) ||
148150 warn "Could not query maximum file descriptor limit"
149151 esac
150152 case $MAX_FD in #(
151153 '' | soft) :;; #(
152154 *)
155155+ # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
156156+ # shellcheck disable=SC3045
153157 ulimit -n "$MAX_FD" ||
154158 warn "Could not set maximum file descriptor limit to $MAX_FD"
155159 esac
···205209 -classpath "$CLASSPATH" \
206210 org.gradle.wrapper.GradleWrapperMain \
207211 "$@"
212212+213213+# Stop when "xargs" is not available.
214214+if ! command -v xargs >/dev/null 2>&1
215215+then
216216+ die "xargs is not available"
217217+fi
208218209219# Use "xargs" to parse quoted args.
210220#
+9-6
gradlew.bat
···1515@rem
1616@rem SPDX-License-Identifier: Apache-2.0
17171818-@if "%DEBUG%" == "" @echo off
1818+@if "%DEBUG%"=="" @echo off
1919@rem ##########################################################################
2020@rem
2121@rem Gradle startup script for Windows
···2626if "%OS%"=="Windows_NT" setlocal
27272828set DIRNAME=%~dp0
2929-if "%DIRNAME%" == "" set DIRNAME=.
2929+if "%DIRNAME%"=="" set DIRNAME=.
3030+@rem This is normally unused
3031set APP_BASE_NAME=%~n0
3132set APP_HOME=%DIRNAME%
3233···41424243set JAVA_EXE=java.exe
4344%JAVA_EXE% -version >NUL 2>&1
4444-if "%ERRORLEVEL%" == "0" goto execute
4545+if %ERRORLEVEL% equ 0 goto execute
45464647echo.
4748echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
···76777778:end
7879@rem End local scope for the variables with windows NT shell
7979-if "%ERRORLEVEL%"=="0" goto mainEnd
8080+if %ERRORLEVEL% equ 0 goto mainEnd
80818182:fail
8283rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
8384rem the _cmd.exe /c_ return code!
8484-if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
8585-exit /b 1
8585+set EXIT_CODE=%ERRORLEVEL%
8686+if %EXIT_CODE% equ 0 set EXIT_CODE=1
8787+if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
8888+exit /b %EXIT_CODE%
86898790:mainEnd
8891if "%OS%"=="Windows_NT" endlocal