From 35d9e4fa33d01da3d547428f075488193744e638 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Thu, 3 Jul 2025 07:44:46 +0200 Subject: [PATCH] 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. --- application/app/build.gradle | 2 +- application/donations/build.gradle | 2 +- application/moviepedia/build.gradle | 2 +- application/remote-access-server/build.gradle | 2 +- application/vlc-android/build.gradle | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/app/build.gradle b/application/app/build.gradle index 9865e7f7b..b17c470e7 100644 --- a/application/app/build.gradle +++ b/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 diff --git a/application/donations/build.gradle b/application/donations/build.gradle index b248a59dd..e9da9e656 100644 --- a/application/donations/build.gradle +++ b/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)}\"" } diff --git a/application/moviepedia/build.gradle b/application/moviepedia/build.gradle index d57032dd5..2f97bd253 100644 --- a/application/moviepedia/build.gradle +++ b/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 { diff --git a/application/remote-access-server/build.gradle b/application/remote-access-server/build.gradle index 8388ca87c..02f7519a3 100644 --- a/application/remote-access-server/build.gradle +++ b/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 diff --git a/application/vlc-android/build.gradle b/application/vlc-android/build.gradle index 5c0b9d4cc..32a4f3e53 100644 --- a/application/vlc-android/build.gradle +++ b/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