[Android] gradle: set the coreLibraryDesugaringEnabled with =

Steve Lhomme git at videolan.org
Mon Jul 21 16:26:18 UTC 2025


vlc-android | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jul  3 07:48:38 2025 +0200| [9046a3282c8aa85a728db88100002879e2144f4d] | committer: Duncan McNamara

gradle: set the coreLibraryDesugaringEnabled 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.

> https://code.videolan.org/videolan/vlc-android/commit/9046a3282c8aa85a728db88100002879e2144f4d
---

 application/app/build.gradle                  | 2 +-
 application/remote-access-server/build.gradle | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/app/build.gradle b/application/app/build.gradle
index b17c470e76..7c9d1b2755 100644
--- a/application/app/build.gradle
+++ b/application/app/build.gradle
@@ -5,7 +5,7 @@ plugins {
 
 android {
     compileOptions {
-        coreLibraryDesugaringEnabled true
+        coreLibraryDesugaringEnabled = true
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
     }
diff --git a/application/remote-access-server/build.gradle b/application/remote-access-server/build.gradle
index 02f7519a34..989a1a459e 100644
--- a/application/remote-access-server/build.gradle
+++ b/application/remote-access-server/build.gradle
@@ -47,7 +47,7 @@ android {
     }
 
     compileOptions {
-        coreLibraryDesugaringEnabled true
+        coreLibraryDesugaringEnabled = true
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
     }



More information about the Android mailing list