From 4fdc46b8ca6e506a024a154510b632f45c9fd0c8 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 24 Jan 2026 14:16:39 +0800 Subject: [PATCH] Update AGP version and add Gradle build properties Upgraded Android Gradle Plugin version from 8.13.2 to 9.0.0 in libs.versions.toml. Added and updated several Android and Kotlin build properties in gradle.properties to refine build behavior and feature flags. --- V2rayNG/gradle.properties | 12 +++++++++++- V2rayNG/gradle/libs.versions.toml | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/V2rayNG/gradle.properties b/V2rayNG/gradle.properties index 6f65f16ea..ae486e520 100644 --- a/V2rayNG/gradle.properties +++ b/V2rayNG/gradle.properties @@ -21,4 +21,14 @@ kotlin.code.style=official # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library android.nonTransitiveRClass=true -kotlin.incremental=true \ No newline at end of file +kotlin.incremental=true +android.defaults.buildfeatures.resvalues=true +android.sdk.defaultTargetSdkToCompileSdkIfUnset=false +android.enableAppCompileTimeRClass=false +android.usesSdkInManifest.disallowed=false +android.uniquePackageNames=false +android.dependency.useConstraints=true +android.r8.strictFullModeForKeepRules=false +android.r8.optimizedResourceShrinking=false +android.builtInKotlin=false +android.newDsl=false \ No newline at end of file diff --git a/V2rayNG/gradle/libs.versions.toml b/V2rayNG/gradle/libs.versions.toml index ad0c424a3..bfb88f34a 100644 --- a/V2rayNG/gradle/libs.versions.toml +++ b/V2rayNG/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "8.13.2" +agp = "9.0.0" desugarJdkLibs = "2.1.5" gradleLicensePlugin = "0.9.8" kotlin = "2.3.0"