diff --git a/app/build.gradle b/app/build.gradle
index 606316aca4dcfe07af50edad2a40de827322aec2..ba28552a4786eb48c21082915f39641e4604587b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -5,6 +5,8 @@ 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
 
@@ -17,14 +19,24 @@ android {
         archivesBaseName = "circles-v${versionName}"
 
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+        if (project.hasProperty("noSplits")) {
+            ndk {
+                (project.properties["ABI_FILTERS"] as String).split(';').each {
+                    abiFilters.add(it)
+                }
+            }
+        }
     }
 
-    splits {
-        abi {
-            enable true
-            reset()
-            include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
-            universalApk false
+    if (splitApks) {
+        splits {
+            abi {
+                enable true
+                reset()
+                include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
+                universalApk false
+            }
         }
     }