Skip to content

Commit

Permalink
Bump Android SDK version to 29
Browse files Browse the repository at this point in the history
Google now requires apps to target version 29 in order for them be be
admissable.
  • Loading branch information
AJenbo committed Jun 18, 2021
1 parent 025785a commit 2091176
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions android-project/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ else {
}

android {
compileSdkVersion 28
compileSdkVersion 29
aaptOptions {
noCompress 'mpq'
}
Expand All @@ -17,7 +17,7 @@ android {
applicationId "org.diasurgical.devilutionx"
}
minSdkVersion 21
targetSdkVersion 28
targetSdkVersion 29
versionCode 18
versionName "1.2.1"
externalNativeBuild {
Expand All @@ -43,9 +43,9 @@ android {
version "3.13.0+"
}
}

}

if (buildAsLibrary) {
libraryVariants.all { variant ->
variant.outputs.each { output ->
Expand Down
5 changes: 3 additions & 2 deletions android-project/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@
<application android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:allowBackup="true"
android:hardwareAccelerated="true" >
android:hardwareAccelerated="true"
android:requestLegacyExternalStorage="true">

<!-- Example of setting SDL hints from AndroidManifest.xml:
<meta-data android:name="SDL_ENV.SDL_ACCELEROMETER_AS_JOYSTICK" android:value="0"/>
-->

<activity android:name="org.diasurgical.devilutionx.DevilutionXSDLActivity"
android:label="@string/app_name"
android:alwaysRetainTaskState="true"
Expand Down

0 comments on commit 2091176

Please sign in to comment.