Skip to content

Commit

Permalink
Fix: Fixed Debug/Nightly Stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
CreativeCodeCat committed Dec 1, 2024
1 parent a1c61d9 commit 2d862cc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ android {
isShrinkResources = false
isDebuggable = true
applicationIdSuffix = ".debug"
versionNameSuffix = "-debug"
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
resValue("string", "app_name", "Easy Launcher (Debug)")
}

getByName("release") {
Expand All @@ -48,7 +48,6 @@ android {
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
resValue("string", "app_name", "Easy Launcher")
}
}

Expand Down Expand Up @@ -77,6 +76,7 @@ android {
"android.permission.ACCESS_FINE_LOCATION"
manifestPlaceholders["coarseLocationPermission"] =
"android.permission.ACCESS_COARSE_LOCATION"
resValue("string", "app_name", "Easy Launcher")
val weatherFile = project.rootProject.file("weather.properties")
if (weatherFile.exists()) {
val properties = Properties()
Expand Down Expand Up @@ -104,6 +104,7 @@ android {
manifestPlaceholders["internetPermission"] = "REMOVE"
manifestPlaceholders["fineLocationPermission"] = "REMOVE"
manifestPlaceholders["coarseLocationPermission"] = "REMOVE"
resValue("string", "app_name", "Easy Launcher")
buildConfigField(
type = "String",
name = "API_KEY",
Expand Down Expand Up @@ -144,12 +145,12 @@ android {
applicationIdSuffix = ".nightly"
versionNameSuffix = "-nightly"
manifestPlaceholders["internetPermission"] = "REMOVE"
resValue("string", "app_name", "Easy Launcher (Nightly)")
buildConfigField(
type = "String",
name = "API_KEY",
value = "\"REMOVE\""
)
resValue("string", "app_name", "Easy Launcher (Nightly)")
}
}

Expand Down

0 comments on commit 2d862cc

Please sign in to comment.