Fix gradle nosplits

This commit is contained in:
Matéo Duparc 2023-04-19 16:11:54 +02:00
parent de3a1a9538
commit f6d1fc8b67
Signed by untrusted user: hardcoresushi
GPG Key ID: AFE384344A45E13A

View File

@ -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