feat: change appID and name of debug builds

This commit is contained in:
Benjamin Halko 2023-09-20 20:15:55 -07:00
parent 36de61a57f
commit 4cb4ce298a
No known key found for this signature in database
GPG Key ID: 790C70040EB331A0

View File

@ -21,15 +21,27 @@ android {
resourceConfigurations.addAll(listOf( resourceConfigurations.addAll(listOf(
"en", "en",
)) ))
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
} }
buildTypes { buildTypes {
debug {
applicationIdSuffix = ".debug"
resValue("string", "app_name", "ReVanced Manager Debug")
}
release { release {
isMinifyEnabled = true if (!project.hasProperty("noProguard")) {
isShrinkResources = true isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") isShrinkResources = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
if (project.hasProperty("signAsDebug")) {
applicationIdSuffix = ".debug"
resValue("string", "app_name", "ReVanced Manager Debug")
signingConfig = signingConfigs.getByName("debug")
}
} }
} }