mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
build: Reduce clutter in buildTypes
Signed-off-by: validcube <pun.butrach@gmail.com>
This commit is contained in:
parent
3dc695eafb
commit
3102272a31
1 changed files with 11 additions and 16 deletions
|
@ -44,10 +44,17 @@ android {
|
||||||
versionName flutterVersionName
|
versionName flutterVersionName
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
configureEach {
|
||||||
|
shrinkResources = false
|
||||||
|
minifyEnabled = false
|
||||||
|
signingConfig signingConfigs.debug
|
||||||
ndk {
|
ndk {
|
||||||
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64'
|
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
release {
|
||||||
|
shrinkResources true
|
||||||
|
minifyEnabled true
|
||||||
if (System.getenv("signingKey") != null) {
|
if (System.getenv("signingKey") != null) {
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
create("release") {
|
create("release") {
|
||||||
|
@ -66,29 +73,17 @@ android {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
signingConfig = signingConfigs.debug
|
signingConfig = signingConfigs.debug
|
||||||
resValue "string", "app_name", "ReVanced Manager Debug"
|
resValue "string", "app_name", "ReVanced Manager (Debug)"
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
shrinkResources false
|
resValue "string", "app_name", "ReVanced Manager (Debug)"
|
||||||
minifyEnabled false
|
|
||||||
resValue "string", "app_name", "ReVanced Manager Debug"
|
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
signingConfig signingConfigs.debug
|
|
||||||
ndk {
|
|
||||||
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
profile {
|
profile {
|
||||||
shrinkResources false
|
resValue "string", "app_name", "ReVanced Manager (Profile)"
|
||||||
minifyEnabled false
|
|
||||||
resValue "string", "app_name", "ReVanced Manager Profile"
|
|
||||||
applicationIdSuffix ".profile"
|
applicationIdSuffix ".profile"
|
||||||
signingConfig signingConfigs.debug
|
|
||||||
ndk {
|
|
||||||
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
|
|
Loading…
Reference in a new issue