From 2e003b01c83278df56cae09d6e821fb5edba2e32 Mon Sep 17 00:00:00 2001 From: Fedir Tsapana Date: Sun, 20 Nov 2022 10:03:19 +0200 Subject: [PATCH] Dependency update; Target = Android 12 --- app/build.gradle.kts | 25 +++++++++++++----------- app/src/amazon/AndroidManifest.xml | 3 +-- app/src/main/AndroidManifest.xml | 6 +++--- app/src/main/res/values-it/strings.xml | 2 +- build.gradle.kts | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 2 +- 6 files changed, 23 insertions(+), 21 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 7348ad9..5d9af8a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -16,13 +16,14 @@ if (localPropertiesFile.exists()) { } android { - compileSdk = 31 - buildToolsVersion = "31.0.0" + compileSdk = 32 + buildToolsVersion = "32.0.0" + namespace = "com.phlox.tvwebbrowser" defaultConfig { applicationId = "com.phlox.tvwebbrowser" minSdk = 21 - targetSdk = 30 + targetSdk = 31 versionCode = 53 versionName = "1.8.2" @@ -71,6 +72,8 @@ android { targetCompatibility to JavaVersion.VERSION_1_8 } + lint.disable += setOf("UNUSED_PARAMETER") + kapt { arguments { //used when AppDatabase @Database annotation exportSchema = true. Useful for migrations @@ -82,16 +85,16 @@ android { dependencies { implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar")))) - implementation("androidx.appcompat:appcompat:1.4.1") + implementation("androidx.appcompat:appcompat:1.5.1") implementation("androidx.webkit:webkit:1.4.0") - implementation("androidx.constraintlayout:constraintlayout:2.1.3") + implementation("androidx.constraintlayout:constraintlayout:2.1.4") implementation("androidx.recyclerview:recyclerview:1.2.1") - implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.20") - implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0") - implementation("org.jetbrains.kotlin:kotlin-reflect:1.6.20") + implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.21") + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4") + implementation("org.jetbrains.kotlin:kotlin-reflect:1.7.21") - implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.4.1") + implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.5.1") val roomVersion = "2.4.2" implementation("androidx.room:room-runtime:$roomVersion") @@ -105,8 +108,8 @@ dependencies { "debugImplementation"("com.squareup.leakcanary:leakcanary-android:2.7") //appstore-dependent dependencies - "googleImplementation"("com.google.firebase:firebase-core:20.1.2") - "googleImplementation"("com.google.firebase:firebase-crashlytics-ktx:18.2.9") + "googleImplementation"("com.google.firebase:firebase-core:21.1.1") + "googleImplementation"("com.google.firebase:firebase-crashlytics-ktx:18.3.2") } tasks.getByName("check").dependsOn("lint") \ No newline at end of file diff --git a/app/src/amazon/AndroidManifest.xml b/app/src/amazon/AndroidManifest.xml index 37c66eb..8c035bc 100644 --- a/app/src/amazon/AndroidManifest.xml +++ b/app/src/amazon/AndroidManifest.xml @@ -1,7 +1,6 @@ + xmlns:tools="http://schemas.android.com/tools"> + xmlns:tools="http://schemas.android.com/tools"> @@ -54,7 +53,8 @@ android:label="@string/app_name_short" android:launchMode="singleTask" android:configChanges="uiMode" - android:logo="@drawable/banner"> + android:logo="@drawable/banner" + android:exported="true"> diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 11e1368..84d88bf 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -74,7 +74,7 @@ File scaricati Notifiche sullo stato dei download Principale - Versione & Info + Versione & Info Versione: %s Canale aggiornamenti: Verifica aggiornamenti diff --git a/build.gradle.kts b/build.gradle.kts index 1786bad..288c7af 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,10 +7,10 @@ buildscript { mavenCentral() } dependencies { - classpath("com.android.tools.build:gradle:7.1.3") + classpath("com.android.tools.build:gradle:7.3.1") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20") - classpath("com.google.gms:google-services:4.3.10") - classpath("com.google.firebase:firebase-crashlytics-gradle:2.8.1") + classpath("com.google.gms:google-services:4.3.14") + classpath("com.google.firebase:firebase-crashlytics-gradle:2.9.2") // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 552d092..b268743 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip