LeOS-Ice-browser/patches_129/2901-build_gradle.patch

62 lines
2.4 KiB
Diff

From 39da09b636943dfb940cf9821fddcdbf205716a6 Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Sun, 25 Aug 2024 11:07:52 +0200
Subject: [PATCH] build_gradle
---
app/build.gradle | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/app/build.gradle b/app/build.gradle
index 1fc219aaae..daa11c4b53 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -57,7 +57,7 @@ android {
}
defaultConfig {
- applicationId "io.github.forkmaintainers"
+ applicationId "com.leos"
minSdkVersion config.minSdkVersion
compileSdk config.compileSdkVersion
targetSdkVersion config.targetSdkVersion
@@ -206,11 +206,11 @@ android {
}
forkRelease releaseTemplate >> {
buildConfigField "boolean", "USE_RELEASE_VERSIONING", "true"
- applicationIdSuffix ".iceraven"
- def deepLinkSchemeValue = "iceraven"
+ applicationIdSuffix ".leosium"
+ def deepLinkSchemeValue = "leosium"
buildConfigField "String", "DEEP_LINK_SCHEME", "\"$deepLinkSchemeValue\""
manifestPlaceholders.putAll([
- "sharedUserId": "io.github.forkmaintainers.iceraven.sharedID",
+ "sharedUserId": "io.github.forkmaintainers.leosium.sharedID",
"deepLinkScheme": deepLinkSchemeValue,
])
// Use custom default allowed addon list
@@ -361,10 +361,10 @@ android.applicationVariants.configureEach { variant ->
// same version code. Therefore we need to have different version codes for our ARM and x86
// builds.
- def versionName = variant.buildType.name == 'nightly' ?
- "${Config.nightlyVersionName(project)}" :
- "${Config.releaseVersionName(project)}"
- println("versionName override: $versionName")
+// def versionName = variant.buildType.name == 'nightly' ?
+// "${Config.nightlyVersionName(project)}" :
+// "${Config.releaseVersionName(project)}"
+// println("versionName override: $versionName")
variant.outputs.each { output ->
def isMozillaOnline = project.hasProperty("mozillaOnline") || gradle.hasProperty("localProperties.mozillaOnline")
@@ -970,4 +970,4 @@ def getSupportedLocales() {
}
// Enable expiration by major version.
-ext.gleanExpireByVersion = Config.majorVersion(project)
+ext.gleanExpireByVersion = 29
--
2.34.1