[android] Fix gradle deprecations

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-07-04 23:36:34 +02:00
committed by Konstantin Pastbin
parent 21020429cb
commit 3e2e6cb487
4 changed files with 31 additions and 32 deletions

View File

@@ -3,15 +3,15 @@ plugins {
}
android {
namespace 'app.organicmaps.sdk'
compileSdk propCompileSdkVersion.toInteger()
namespace = 'app.organicmaps.sdk'
compileSdk = propCompileSdkVersion.toInteger()
ndkVersion '28.2.13676358'
ndkVersion = '28.2.13676358'
defaultConfig {
minSdk propMinSdkVersion.toInteger()
targetSdk propTargetSdkVersion.toInteger()
minSdk = propMinSdkVersion.toInteger()
targetSdk = propTargetSdkVersion.toInteger()
externalNativeBuild {
def pchFlag = 'OFF'
@@ -85,7 +85,7 @@ android {
externalNativeBuild {
cmake {
version '3.22.1+'
version = '3.22.1+'
buildStagingDirectory './nativeOutputs'
path '../../CMakeLists.txt'
}