Android 12 updates

* Updated gradle version and dependencies
* Bumped compileSdkVersion and targetSdkVersion to 31
* Added support for updates without user action
* Bumped versionCode and versionName

Changes required by API level 31:
 * Added explicit exported tags to activities and receivers
 * Added explicit IMMUTABLE|MUTABLE flags to PendingIntents
This commit is contained in:
Oliver Scott
2021-11-10 15:14:05 -05:00
parent 934a96fb11
commit f83d26df58
8 changed files with 60 additions and 23 deletions

View File

@@ -23,16 +23,15 @@ apply plugin: 'kotlin-kapt'
apply plugin: "androidx.navigation.safeargs.kotlin"
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
compileSdkVersion 31
defaultConfig {
applicationId "com.aurora.store"
minSdkVersion 19
targetSdkVersion 30
targetSdkVersion 31
versionCode 38
versionName "4.0.7"
versionCode 39
versionName "4.1.0"
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
@@ -82,8 +81,8 @@ buildscript {
fetch2 : "3.1.6",
fuel : "2.3.0",
glide : "4.11.0",
lifecycle : "2.3.1",
navigation: "2.3.4",
lifecycle : '2.4.0',
navigation: '2.3.5',
epoxy : "4.3.1",
libsu : "3.0.2"
]
@@ -108,12 +107,12 @@ dependencies {
implementation("org.apache.commons:commons-text:1.8")
//Google's Goodies
implementation("com.google.android.material:material:1.3.0")
implementation("com.google.android.material:material:1.4.0")
implementation("com.google.android:flexbox:2.0.1")
implementation("com.google.code.gson:gson:2.8.6")
//AndroidX
implementation("androidx.core:core-ktx:1.3.2")
implementation("androidx.core:core-ktx:1.7.0")
implementation("androidx.viewpager2:viewpager2:1.0.0")
implementation("androidx.vectordrawable:vectordrawable:1.1.0")
implementation("androidx.preference:preference-ktx:1.1.1")