Android: Avoid deprecation warnings (Space-assignment syntax)

Space-assignment syntax in Groovy DSL has been deprecated.
This is scheduled to be removed in Gradle 10.0.

Pick-to: 6.9
Change-Id: I2029af79b25351337c32db96053548ce5f4f47ae
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Lars Schmertmann 2025-05-20 07:59:20 +02:00
parent 1285dbeb3c
commit ed76f816e6
5 changed files with 10 additions and 10 deletions

View File

@ -24,7 +24,7 @@ repositories {
android {
compileSdk 35
namespace "org.qtproject.qt.android"
namespace = "org.qtproject.qt.android"
defaultConfig {
minSdkVersion 28
@ -55,7 +55,7 @@ android {
android {
lintOptions {
abortOnError true
abortOnError = true
}
}
}

View File

@ -38,10 +38,10 @@ android {
* Changing them manually might break the compilation!
*******************************************************/
namespace androidPackageName
namespace = androidPackageName
compileSdkVersion androidCompileSdkVersion
buildToolsVersion androidBuildToolsVersion
ndkVersion androidNdkVersion
ndkVersion = androidNdkVersion
sourceSets {
main {
@ -66,7 +66,7 @@ android {
}
lintOptions {
abortOnError false
abortOnError = false
}
// Do not compress Qt binary resources file

View File

@ -45,7 +45,7 @@ android {
android {
lintOptions {
abortOnError true
abortOnError = true
}
}
}

View File

@ -45,7 +45,7 @@ android {
android {
lintOptions {
abortOnError true
abortOnError = true
}
}
}

View File

@ -36,10 +36,10 @@ android {
* Changing them manually might break the compilation!
*******************************************************/
namespace androidPackageName
namespace = androidPackageName
compileSdkVersion androidCompileSdkVersion
buildToolsVersion androidBuildToolsVersion
ndkVersion androidNdkVersion
ndkVersion = androidNdkVersion
// Extract native libraries from the APK
packagingOptions.jniLibs.useLegacyPackaging true
@ -67,7 +67,7 @@ android {
}
lintOptions {
abortOnError false
abortOnError = false
}
// Do not compress Qt binary resources file