Skip to content

Commit

Permalink
Up build.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Feb 10, 2024
1 parent fbb1739 commit 4b970ce
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions V2rayNG/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.android.build.gradle.internal.api.ApkVariantImpl

plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
Expand All @@ -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 {
Expand Down Expand Up @@ -50,7 +45,6 @@ android {
abi {
isEnable = true
isUniversalApk = true
include("armeabi-v7a","arm64-v8a","x86","x86_64")
}
}

Expand All @@ -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"

Expand Down

0 comments on commit 4b970ce

Please sign in to comment.