Browse Source

gradle: set the multiDexEnabled 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
35d9e4fa33
  1. 2
      application/app/build.gradle
  2. 2
      application/donations/build.gradle
  3. 2
      application/moviepedia/build.gradle
  4. 2
      application/remote-access-server/build.gradle
  5. 2
      application/vlc-android/build.gradle

2
application/app/build.gradle

@ -38,7 +38,7 @@ android {
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
multiDexEnabled = true
testInstrumentationRunner "org.videolan.vlc.MultidexTestRunner"
// The following argument makes the Android Test Orchestrator run its

2
application/donations/build.gradle

@ -47,7 +47,7 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
multiDexEnabled true
multiDexEnabled = true
buildConfigField "String", "PUBLIC_API_KEY", "\"${getPublicApiKey(project)}\""
}

2
application/moviepedia/build.gradle

@ -28,7 +28,7 @@ android {
buildConfigField 'int', 'VLC_VERSION_CODE', "${rootProject.ext.versionCode}"
buildConfigField "String", "MOVIEPEDIA_API_URL", "\"${getMoviepediaUrl(project)}\""
multiDexEnabled true
multiDexEnabled = true
}
buildTypes {

2
application/remote-access-server/build.gradle

@ -11,7 +11,7 @@ android {
}
defaultConfig {
multiDexEnabled true
multiDexEnabled = true
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
compileSdk = rootProject.ext.compileSdkVersion

2
application/vlc-android/build.gradle

@ -76,7 +76,7 @@ android {
buildConfigField "String", "APP_ID", "\"${rootProject.ext.appId}.debug\""
resValue 'string', 'tv_provider_authority', "${rootProject.ext.appId}.debug.tv"
buildConfigField "boolean", "NO_TV", "false"
multiDexEnabled true
multiDexEnabled = true
}
vlcBundle {
initWith release

Loading…
Cancel
Save