From cee8cbadc99d179bd32850e54ec7ee440850512e Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Thu, 3 Jul 2025 07:49:05 +0200 Subject: [PATCH] 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. --- application/app/build.gradle | 4 ++-- application/vlc-android/build.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/app/build.gradle b/application/app/build.gradle index 7c9d1b275..619c39b0f 100644 --- a/application/app/build.gradle +++ b/application/app/build.gradle @@ -133,7 +133,7 @@ android { } return false // continue } - enable isReleaseBuild + enable = isReleaseBuild reset() include "x86", "x86_64", "armeabi-v7a", "arm64-v8a" // universalApk !isReleaseBuild @@ -142,7 +142,7 @@ android { def abiCodes = ['armeabi-v7a': 5, 'arm64-v8a': 6, 'x86': 7, 'x86_64': 8] lint { - abortOnError false + abortOnError = false disable 'MissingTranslation', 'ExtraTranslation' } namespace = 'org.videolan.mobile.app' diff --git a/application/vlc-android/build.gradle b/application/vlc-android/build.gradle index 32a4f3e53..de3234709 100644 --- a/application/vlc-android/build.gradle +++ b/application/vlc-android/build.gradle @@ -49,7 +49,7 @@ android { testOptions { animationsDisabled = true - execution 'ANDROIDX_TEST_ORCHESTRATOR' + execution = 'ANDROIDX_TEST_ORCHESTRATOR' unitTests { includeAndroidResources = true }