From 7d2f6ca37cbef96eea08934b0d065b46c972ae4f Mon Sep 17 00:00:00 2001
From: Taras Smakula <tarassmakula@gmail.com>
Date: Thu, 25 Jan 2024 16:25:19 +0200
Subject: [PATCH] Remove gradle properties

---
 app/build.gradle | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index ba28552a4..631db4121 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -5,7 +5,6 @@ apply plugin: 'androidx.navigation.safeargs.kotlin'
 apply plugin: 'kotlin-kapt'
 apply plugin: 'dagger.hilt.android.plugin'
 
-def splitApks = !project.hasProperty("noSplits")
 
 android {
     compileSdk rootProject.ext.sdk_version
@@ -20,26 +19,18 @@ android {
 
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
 
-        if (project.hasProperty("noSplits")) {
-            ndk {
-                (project.properties["ABI_FILTERS"] as String).split(';').each {
-                    abiFilters.add(it)
-                }
-            }
-        }
     }
 
-    if (splitApks) {
-        splits {
-            abi {
-                enable true
-                reset()
-                include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
-                universalApk false
-            }
+    splits {
+        abi {
+            enable true
+            reset()
+            include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
+            universalApk false
         }
     }
 
+
     buildFeatures {
         viewBinding true
         buildConfig true
-- 
GitLab