[Android] gradle: set the renderScript with =

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


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

gradle: set the renderScript 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/caa3dc72be2891b4df1b1fb07092f882f1db860b
---

 application/vlc-android/build.gradle | 2 +-
 medialibrary/build.gradle            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/vlc-android/build.gradle b/application/vlc-android/build.gradle
index 2747b381cf..5c0b9d4cce 100644
--- a/application/vlc-android/build.gradle
+++ b/application/vlc-android/build.gradle
@@ -120,7 +120,7 @@ android {
     }
     namespace = 'org.videolan.vlc'
     buildFeatures {
-        renderScript true
+        renderScript = true
         aidl = true
         buildConfig = true
     }
diff --git a/medialibrary/build.gradle b/medialibrary/build.gradle
index 5d835b8526..d2f8d2551e 100644
--- a/medialibrary/build.gradle
+++ b/medialibrary/build.gradle
@@ -76,7 +76,7 @@ android {
         enabled = true
     }
     buildFeatures {
-        renderScript true
+        renderScript = true
         aidl = true
     }
 



More information about the Android mailing list