From f6d1fc8b67592ecef2eac6af46213eba7d0c30ee Mon Sep 17 00:00:00 2001 From: Hardcore Sushi Date: Wed, 19 Apr 2023 16:11:54 +0200 Subject: [PATCH] Fix gradle nosplits --- app/build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 31eee33..3a87ecf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,6 +13,12 @@ if (hasProperty("disableGocryptfs")) { ext.disableGocryptfs = false } +if (hasProperty("nosplits")) { + ext.splits = false +} else { + ext.splits = true +} + android { compileSdkVersion 33 buildToolsVersion "33.0.0" @@ -44,7 +50,7 @@ android { } } - if (!hasProperty("nosplits")) { + if (project.ext.splits) { splits { abi { enable true