Browse Source

gradle: set the misc. options with =

The old way is marked as deprecated.

> Properties should be assigned using the 'propName = value' syntax. Setting a
> property via the Gradle-generated 'propName value' or 'propName(value)'
> syntax in Groovy DSL has been deprecated.
merge-requests/2174/merge
Steve Lhomme 1 year ago
committed by Duncan McNamara
parent
commit
cee8cbadc9
  1. 4
      application/app/build.gradle
  2. 2
      application/vlc-android/build.gradle

4
application/app/build.gradle

@ -133,7 +133,7 @@ android {
} }
return false // continue return false // continue
} }
enable isReleaseBuild enable = isReleaseBuild
reset() reset()
include "x86", "x86_64", "armeabi-v7a", "arm64-v8a" include "x86", "x86_64", "armeabi-v7a", "arm64-v8a"
// universalApk !isReleaseBuild // universalApk !isReleaseBuild
@ -142,7 +142,7 @@ android {
def abiCodes = ['armeabi-v7a': 5, 'arm64-v8a': 6, 'x86': 7, 'x86_64': 8] def abiCodes = ['armeabi-v7a': 5, 'arm64-v8a': 6, 'x86': 7, 'x86_64': 8]
lint { lint {
abortOnError false abortOnError = false
disable 'MissingTranslation', 'ExtraTranslation' disable 'MissingTranslation', 'ExtraTranslation'
} }
namespace = 'org.videolan.mobile.app' namespace = 'org.videolan.mobile.app'

2
application/vlc-android/build.gradle

@ -49,7 +49,7 @@ android {
testOptions { testOptions {
animationsDisabled = true animationsDisabled = true
execution 'ANDROIDX_TEST_ORCHESTRATOR' execution = 'ANDROIDX_TEST_ORCHESTRATOR'
unitTests { unitTests {
includeAndroidResources = true includeAndroidResources = true
} }

Loading…
Cancel
Save