From 5f059645a10107a082a648357032986f8d973e98 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 29 May 2022 10:50:11 -0700 Subject: [PATCH] Update project --- app/build.gradle | 33 +++++++++---------- app/src/main/AndroidManifest.xml | 5 ++- .../java/org/traccar/client/MainFragment.kt | 7 ++-- build.gradle | 6 ++-- gradle/wrapper/gradle-wrapper.properties | 2 +- 5 files changed, 25 insertions(+), 28 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 747c84b6..aebc6714 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,29 +2,23 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId 'org.traccar.client' buildConfigField 'boolean', 'HIDDEN_APP', 'false' minSdkVersion 16 - targetSdkVersion 31 - versionCode 77 - versionName '6.16' + targetSdkVersion 32 + versionCode 78 + versionName '6.17' multiDexEnabled true } - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } + namespace 'org.traccar.client' packagingOptions { - exclude 'META-INF/DEPENDENCIES' - } - - lintOptions { - checkReleaseBuilds false + resources { + excludes += ['META-INF/DEPENDENCIES'] + } } flavorDimensions 'default' @@ -44,12 +38,15 @@ android { includeAndroidResources = true } } + lint { + checkReleaseBuilds false + } } dependencies { - implementation 'com.google.android.material:material:1.5.0-alpha05' + implementation 'com.google.android.material:material:1.6.0' implementation 'androidx.multidex:multidex:2.0.1' - implementation 'androidx.preference:preference-ktx:1.1.1' + implementation 'androidx.preference:preference-ktx:1.2.0' implementation 'androidx.test:core-ktx:1.4.0' implementation 'androidx.core:core-ktx:1.7.0' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" @@ -63,8 +60,8 @@ dependencies { googleImplementation 'com.google.firebase:firebase-core' googleImplementation 'com.google.firebase:firebase-analytics' googleImplementation 'com.google.firebase:firebase-crashlytics' - googleImplementation 'com.google.android.gms:play-services-location:18.0.0' - googleImplementation 'com.google.android.play:core:1.10.2' + googleImplementation 'com.google.android.gms:play-services-location:19.0.1' + googleImplementation 'com.google.android.play:core:1.10.3' } if (getGradle().getStartParameter().getTaskRequests().toString().contains('Google')) { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0b39d810..4f30bd99 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,8 +1,7 @@ + xmlns:tools="http://schemas.android.com/tools"> @@ -27,7 +26,7 @@ android:label="@string/app_name" android:theme="@style/AppTheme" android:name=".MainApplication" - tools:ignore="GoogleAppIndexingWarning"> + tools:ignore="GoogleAppIndexingWarning,UnusedAttribute">