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,16 +21,28 @@ 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 {
if (!project.hasProperty("noProguard")) {
isMinifyEnabled = true isMinifyEnabled = true
isShrinkResources = true isShrinkResources = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") 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")
}
}
} }
compileOptions { compileOptions {