Skip to content

Commit b32a5a2

Browse files
committedJan 16, 2023
AGP update
1 parent 0ab4478 commit b32a5a2

File tree

8 files changed

+21
-16
lines changed

8 files changed

+21
-16
lines changed
 

‎app/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ apply plugin: "com.google.firebase.crashlytics"
77
android {
88
namespace "info.dvkr.screenstream"
99
compileSdkVersion(33)
10-
buildToolsVersion("33.0.0")
10+
buildToolsVersion("33.0.1")
1111

1212
defaultConfig {
1313
applicationId = "info.dvkr.screenstream"
@@ -93,15 +93,15 @@ android {
9393
}
9494

9595
dependencies {
96-
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.2.2")
96+
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.0")
9797

9898
implementation(project(":common"))
9999
implementation(project(":mjpeg"))
100100

101101
implementation("androidx.core:core-ktx:1.9.0")
102102
implementation("androidx.activity:activity-ktx:1.6.1")
103103
implementation("androidx.fragment:fragment-ktx:1.5.5")
104-
implementation("androidx.appcompat:appcompat:1.6.0-rc01")
104+
implementation("androidx.appcompat:appcompat:1.6.0")
105105
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
106106
implementation("androidx.recyclerview:recyclerview:1.2.1")
107107
implementation("com.google.android.material:material:1.7.0")

‎build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath("com.android.tools:r8:3.3.75")
9-
classpath("com.android.tools.build:gradle:7.3.1")
8+
classpath("com.android.tools.build:gradle:7.4.0")
109
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.21")
1110
classpath("com.google.gms:google-services:4.3.14")
1211
classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.2")

‎common/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: "kotlin-android"
44
android {
55
namespace "info.dvkr.screenstream.common"
66
compileSdkVersion(33)
7-
buildToolsVersion("33.0.0")
7+
buildToolsVersion("33.0.1")
88

99
defaultConfig {
1010
minSdkVersion(21)

‎gradle/wrapper/gradle-wrapper.jar

935 Bytes
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
34
zipStoreBase=GRADLE_USER_HOME
45
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip

‎gradlew

+6
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,12 @@ set -- \
205205
org.gradle.wrapper.GradleWrapperMain \
206206
"$@"
207207

208+
# Stop when "xargs" is not available.
209+
if ! command -v xargs >/dev/null 2>&1
210+
then
211+
die "xargs is not available"
212+
fi
213+
208214
# Use "xargs" to parse quoted args.
209215
#
210216
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.

‎gradlew.bat

+8-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@rem limitations under the License.
1515
@rem
1616

17-
@if "%DEBUG%" == "" @echo off
17+
@if "%DEBUG%"=="" @echo off
1818
@rem ##########################################################################
1919
@rem
2020
@rem Gradle startup script for Windows
@@ -25,7 +25,7 @@
2525
if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
28-
if "%DIRNAME%" == "" set DIRNAME=.
28+
if "%DIRNAME%"=="" set DIRNAME=.
2929
set APP_BASE_NAME=%~n0
3030
set APP_HOME=%DIRNAME%
3131

@@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4040

4141
set JAVA_EXE=java.exe
4242
%JAVA_EXE% -version >NUL 2>&1
43-
if "%ERRORLEVEL%" == "0" goto execute
43+
if %ERRORLEVEL% equ 0 goto execute
4444

4545
echo.
4646
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -75,13 +75,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
7575

7676
:end
7777
@rem End local scope for the variables with windows NT shell
78-
if "%ERRORLEVEL%"=="0" goto mainEnd
78+
if %ERRORLEVEL% equ 0 goto mainEnd
7979

8080
:fail
8181
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
8282
rem the _cmd.exe /c_ return code!
83-
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84-
exit /b 1
83+
set EXIT_CODE=%ERRORLEVEL%
84+
if %EXIT_CODE% equ 0 set EXIT_CODE=1
85+
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
86+
exit /b %EXIT_CODE%
8587

8688
:mainEnd
8789
if "%OS%"=="Windows_NT" endlocal

‎mjpeg/build.gradle

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: "kotlin-android"
44
android {
55
namespace "info.dvkr.screenstream.mjpeg"
66
compileSdkVersion(33)
7-
buildToolsVersion("33.0.0")
7+
buildToolsVersion("33.0.1")
88

99
defaultConfig {
1010
minSdkVersion(21)
@@ -37,6 +37,4 @@ dependencies {
3737
implementation("io.ktor:ktor-server-forwarded-header:2.2.2")
3838
implementation("io.ktor:ktor-server-status-pages:2.2.2")
3939
implementation("io.ktor:ktor-server-cors:2.2.2")
40-
41-
implementation("com.github.iamironz:binaryprefs:1.0.1") //Migrating to datastore
4240
}

0 commit comments

Comments
 (0)
Failed to load comments.