Clean up app build.gradle deprecations

This commit is contained in:
TacoTheDank 2022-06-05 22:30:48 -04:00 committed by Cameron Gutman
parent 8f31aa59a8
commit 8dd8dbc1d1

View File

@ -3,23 +3,26 @@ apply plugin: 'com.android.application'
android { android {
ndkVersion "23.2.8568313" ndkVersion "23.2.8568313"
compileSdkVersion 32 compileSdk 32
defaultConfig { defaultConfig {
minSdkVersion 16 minSdk 16
targetSdkVersion 32 targetSdk 32
versionName "10.3" versionName "10.3"
versionCode = 278 versionCode = 278
// Generate native debug symbols to allow Google Play to symbolicate our native crashes
ndk.debugSymbolLevel = 'FULL'
} }
flavorDimensions "root" flavorDimensions.add("root")
productFlavors { productFlavors {
root { root {
// Android O has native mouse capture, so don't show the rooted // Android O has native mouse capture, so don't show the rooted
// version to devices running O on the Play Store. // version to devices running O on the Play Store.
maxSdkVersion 25 maxSdk 25
externalNativeBuild { externalNativeBuild {
ndkBuild { ndkBuild {
@ -55,7 +58,7 @@ android {
enableSplit = false enableSplit = false
} }
density { density {
// FIXME: This should not be neccessary but we get // FIXME: This should not be necessary but we get
// weird crashes due to missing drawable resources // weird crashes due to missing drawable resources
// when this split is enabled. // when this split is enabled.
enableSplit = false enableSplit = false
@ -112,9 +115,6 @@ android {
path "src/main/jni/Android.mk" path "src/main/jni/Android.mk"
} }
} }
// Generate native debug symbols to allow Google Play to symbolicate our native crashes
android.defaultConfig.ndk.debugSymbolLevel = 'FULL'
} }
dependencies { dependencies {