forked from hardcoresushi/DroidFS
Fix gradle nosplits
This commit is contained in:
parent
de3a1a9538
commit
f6d1fc8b67
@ -13,6 +13,12 @@ if (hasProperty("disableGocryptfs")) {
|
|||||||
ext.disableGocryptfs = false
|
ext.disableGocryptfs = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (hasProperty("nosplits")) {
|
||||||
|
ext.splits = false
|
||||||
|
} else {
|
||||||
|
ext.splits = true
|
||||||
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 33
|
compileSdkVersion 33
|
||||||
buildToolsVersion "33.0.0"
|
buildToolsVersion "33.0.0"
|
||||||
@ -44,7 +50,7 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasProperty("nosplits")) {
|
if (project.ext.splits) {
|
||||||
splits {
|
splits {
|
||||||
abi {
|
abi {
|
||||||
enable true
|
enable true
|
||||||
|
Loading…
Reference in New Issue
Block a user