misc: allow to disable new api in build script
This commit is contained in:
@@ -60,6 +60,7 @@ if (ccacheExecutablePath != null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val fullNativeDebugMode = false
|
val fullNativeDebugMode = false
|
||||||
|
val isNewXposedApiEnabled = true
|
||||||
|
|
||||||
fun getSignatureKeyDigest(signConfig: SigningConfig?): String? {
|
fun getSignatureKeyDigest(signConfig: SigningConfig?): String? {
|
||||||
var key1: String? = if (signConfig != null && signConfig.storeFile != null) {
|
var key1: String? = if (signConfig != null && signConfig.storeFile != null) {
|
||||||
@@ -214,6 +215,9 @@ android {
|
|||||||
"kotlin-tooling-metadata.json"
|
"kotlin-tooling-metadata.json"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
if (!isNewXposedApiEnabled) {
|
||||||
|
resources.excludes.add("META-INF/xposed/**")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
|
|||||||
Reference in New Issue
Block a user