Browse Source

Android build system upgrades

* Upgrade Gradle plugin to 8.2.0
* Upgrade Gradle to 8.5
* Upgrade NDK to 26.1
* Move `buildFeatures` to Gradle build file, since using flag in
`gradle.properties` is deprecated
pull/7378/head
Oleksandr Kalko 2 years ago committed by Anders Jenbo
parent
commit
cd1cab759d
  1. 5
      android-project/app/build.gradle
  2. 1
      android-project/gradle.properties

5
android-project/app/build.gradle

@ -7,7 +7,7 @@ if (buildAsApplication) {
}
android {
ndkVersion '26.0.10792818'
ndkVersion '26.1.10909125'
compileSdk 33
defaultConfig {
if (buildAsApplication) {
@ -31,6 +31,9 @@ android {
}
}
namespace 'org.diasurgical.devilutionx'
buildFeatures {
buildConfig true
}
applicationVariants.all { variant ->
tasks["merge${variant.name.capitalize()}Assets"]
.dependsOn("externalNativeBuild${variant.name.capitalize()}")

1
android-project/gradle.properties

@ -1,3 +1,2 @@
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false
android.nonTransitiveRClass=false

Loading…
Cancel
Save