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:
parent
1285dbeb3c
commit
ed76f816e6
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -45,7 +45,7 @@ android {
|
||||
|
||||
android {
|
||||
lintOptions {
|
||||
abortOnError true
|
||||
abortOnError = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ android {
|
||||
|
||||
android {
|
||||
lintOptions {
|
||||
abortOnError true
|
||||
abortOnError = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user