summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2024-01-22 03:57:24 +0100
committert895 <clombardo169@gmail.com>2024-01-22 04:08:07 +0100
commit59080a3d1d6d9e00a7da876de6453845eab4f15e (patch)
treef2367b85d875819026b0b67579e87d2e2ae16cba /src/android
parentMerge pull request #12734 from german77/enable-applet (diff)
downloadyuzu-59080a3d1d6d9e00a7da876de6453845eab4f15e.tar
yuzu-59080a3d1d6d9e00a7da876de6453845eab4f15e.tar.gz
yuzu-59080a3d1d6d9e00a7da876de6453845eab4f15e.tar.bz2
yuzu-59080a3d1d6d9e00a7da876de6453845eab4f15e.tar.lz
yuzu-59080a3d1d6d9e00a7da876de6453845eab4f15e.tar.xz
yuzu-59080a3d1d6d9e00a7da876de6453845eab4f15e.tar.zst
yuzu-59080a3d1d6d9e00a7da876de6453845eab4f15e.zip
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/build.gradle.kts15
-rw-r--r--src/android/app/debug.keystorebin0 -> 2105 bytes
2 files changed, 11 insertions, 4 deletions
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts
index 06e59d1ac..188ef9469 100644
--- a/src/android/app/build.gradle.kts
+++ b/src/android/app/build.gradle.kts
@@ -82,8 +82,8 @@ android {
}
val keystoreFile = System.getenv("ANDROID_KEYSTORE_FILE")
- if (keystoreFile != null) {
- signingConfigs {
+ signingConfigs {
+ if (keystoreFile != null) {
create("release") {
storeFile = file(keystoreFile)
storePassword = System.getenv("ANDROID_KEYSTORE_PASS")
@@ -91,6 +91,12 @@ android {
keyPassword = System.getenv("ANDROID_KEYSTORE_PASS")
}
}
+ create("default") {
+ storeFile = file("$projectDir/debug.keystore")
+ storePassword = "android"
+ keyAlias = "androiddebugkey"
+ keyPassword = "android"
+ }
}
// Define build types, which are orthogonal to product flavors.
@@ -101,7 +107,7 @@ android {
signingConfig = if (keystoreFile != null) {
signingConfigs.getByName("release")
} else {
- signingConfigs.getByName("debug")
+ signingConfigs.getByName("default")
}
resValue("string", "app_name_suffixed", "yuzu")
@@ -118,7 +124,7 @@ android {
register("relWithDebInfo") {
isDefault = true
resValue("string", "app_name_suffixed", "yuzu Debug Release")
- signingConfig = signingConfigs.getByName("debug")
+ signingConfig = signingConfigs.getByName("default")
isMinifyEnabled = true
isDebuggable = true
proguardFiles(
@@ -133,6 +139,7 @@ android {
// Signed by debug key disallowing distribution on Play Store.
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
debug {
+ signingConfig = signingConfigs.getByName("default")
resValue("string", "app_name_suffixed", "yuzu Debug")
isDebuggable = true
isJniDebuggable = true
diff --git a/src/android/app/debug.keystore b/src/android/app/debug.keystore
new file mode 100644
index 000000000..e4e194af9
--- /dev/null
+++ b/src/android/app/debug.keystore
Binary files differ