From 4b970cedcc15f8514e01f2f02b59cb60de14ceae Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Sat, 10 Feb 2024 09:51:29 +0800 Subject: [PATCH] Up build.gradle.kts --- V2rayNG/app/build.gradle.kts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/V2rayNG/app/build.gradle.kts b/V2rayNG/app/build.gradle.kts index 6fa81a68b..87b17bca7 100644 --- a/V2rayNG/app/build.gradle.kts +++ b/V2rayNG/app/build.gradle.kts @@ -1,5 +1,3 @@ -import com.android.build.gradle.internal.api.ApkVariantImpl - plugins { id("com.android.application") id("org.jetbrains.kotlin.android") @@ -13,12 +11,9 @@ android { applicationId = "com.v2ray.ang" minSdk = 21 targetSdk = 34 - versionCode = 541 + versionCode = 542 versionName = "1.8.15" multiDexEnabled = true - ndk { - abiFilters += listOf("armeabi-v7a","arm64-v8a","x86","x86_64") - } } compileOptions { @@ -50,7 +45,6 @@ android { abi { isEnable = true isUniversalApk = true - include("armeabi-v7a","arm64-v8a","x86","x86_64") } } @@ -62,8 +56,8 @@ android { variant.outputs .map { it as com.android.build.gradle.internal.api.ApkVariantOutputImpl } .forEach { output -> - val abi = if (output.getFilter(com.android.build.OutputFile.ABI) != null) - output.getFilter(com.android.build.OutputFile.ABI) + val abi = if (output.getFilter("ABI") != null) + output.getFilter("ABI") else "all"