Skip to content

Commit

Permalink
feat: change appID and name of debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHalko committed Sep 21, 2023
1 parent 36de61a commit 4cb4ce2
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,27 @@ android {
resourceConfigurations.addAll(listOf(
"en",
))

vectorDrawables.useSupportLibrary = true
}

buildTypes {
debug {
applicationIdSuffix = ".debug"
resValue("string", "app_name", "ReVanced Manager Debug")
}

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

Expand Down

0 comments on commit 4cb4ce2

Please sign in to comment.