Bump target SDK version to 31 and update dependencies

This commit is contained in:
Alexander Bakker 2021-11-03 12:23:06 +01:00
parent 9ca4de8b60
commit adfc472a39
2 changed files with 9 additions and 7 deletions

View file

@ -18,12 +18,12 @@ def fileProviderAuthority = "${packageName}.fileprovider"
def fileProviderAuthorityDebug = "${packageName}.debug.fileprovider" def fileProviderAuthorityDebug = "${packageName}.debug.fileprovider"
android { android {
compileSdkVersion 30 compileSdkVersion 31
defaultConfig { defaultConfig {
applicationId "${packageName}" applicationId "${packageName}"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 30 targetSdkVersion 31
versionCode 50 versionCode 50
versionName "2.0.2" versionName "2.0.2"
multiDexEnabled true multiDexEnabled true
@ -122,7 +122,7 @@ protobuf {
dependencies { dependencies {
def androidTestVersion = '1.4.0' def androidTestVersion = '1.4.0'
def cameraxVersion = '1.0.1' def cameraxVersion = '1.0.2'
def glideVersion = '4.12.0' def glideVersion = '4.12.0'
def guavaVersion = '30.1.1' def guavaVersion = '30.1.1'
def junitVersion = '4.13.2' def junitVersion = '4.13.2'
@ -136,12 +136,12 @@ dependencies {
implementation "androidx.biometric:biometric:1.1.0" implementation "androidx.biometric:biometric:1.1.0"
implementation "androidx.camera:camera-camera2:$cameraxVersion" implementation "androidx.camera:camera-camera2:$cameraxVersion"
implementation "androidx.camera:camera-lifecycle:$cameraxVersion" implementation "androidx.camera:camera-lifecycle:$cameraxVersion"
implementation "androidx.camera:camera-view:1.0.0-alpha27" implementation "androidx.camera:camera-view:1.0.0-alpha30"
implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.cardview:cardview:1.0.0'
implementation "androidx.core:core:1.3.2" implementation "androidx.core:core:1.7.0"
implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'androidx.documentfile:documentfile:1.0.1' implementation 'androidx.documentfile:documentfile:1.0.1'
implementation "androidx.lifecycle:lifecycle-process:2.3.1" implementation "androidx.lifecycle:lifecycle-process:2.4.0"
implementation 'androidx.preference:preference:1.1.1' implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation "androidx.viewpager2:viewpager2:1.0.0" implementation "androidx.viewpager2:viewpager2:1.0.0"

View file

@ -34,6 +34,7 @@
android:label="@string/title_activity_import_entries" /> android:label="@string/title_activity_import_entries" />
<activity <activity
android:name=".ui.MainActivity" android:name=".ui.MainActivity"
android:exported="true"
android:label="${title}"> android:label="${title}">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
@ -80,6 +81,7 @@
android:label="@string/title_activity_manage_groups" /> android:label="@string/title_activity_manage_groups" />
<activity <activity
android:name=".ui.PanicResponderActivity" android:name=".ui.PanicResponderActivity"
android:exported="true"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:noHistory="true" android:noHistory="true"
android:theme="@android:style/Theme.NoDisplay"> android:theme="@android:style/Theme.NoDisplay">