diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/android/app/build.gradle.kts | 25 | ||||
| -rw-r--r-- | src/android/app/src/main/AndroidManifest.xml | 2 |
2 files changed, 11 insertions, 16 deletions
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts index 13bb227ff..d4698ae1c 100644 --- a/src/android/app/build.gradle.kts +++ b/src/android/app/build.gradle.kts | |||
| @@ -74,16 +74,7 @@ android { | |||
| 74 | 74 | ||
| 75 | // Signed by release key, allowing for upload to Play Store. | 75 | // Signed by release key, allowing for upload to Play Store. |
| 76 | release { | 76 | release { |
| 77 | signingConfig = signingConfigs.getByName("debug") | 77 | resValue("string", "app_name_suffixed", "yuzu") |
| 78 | isMinifyEnabled = true | ||
| 79 | isDebuggable = false | ||
| 80 | proguardFiles( | ||
| 81 | getDefaultProguardFile("proguard-android.txt"), | ||
| 82 | "proguard-rules.pro" | ||
| 83 | ) | ||
| 84 | } | ||
| 85 | |||
| 86 | register("relWithVersionCode") { | ||
| 87 | signingConfig = signingConfigs.getByName("debug") | 78 | signingConfig = signingConfigs.getByName("debug") |
| 88 | isMinifyEnabled = true | 79 | isMinifyEnabled = true |
| 89 | isDebuggable = false | 80 | isDebuggable = false |
| @@ -96,6 +87,7 @@ android { | |||
| 96 | // builds a release build that doesn't need signing | 87 | // builds a release build that doesn't need signing |
| 97 | // Attaches 'debug' suffix to version and package name, allowing installation alongside the release build. | 88 | // Attaches 'debug' suffix to version and package name, allowing installation alongside the release build. |
| 98 | register("relWithDebInfo") { | 89 | register("relWithDebInfo") { |
| 90 | resValue("string", "app_name_suffixed", "yuzu Debug Release") | ||
| 99 | signingConfig = signingConfigs.getByName("debug") | 91 | signingConfig = signingConfigs.getByName("debug") |
| 100 | isMinifyEnabled = true | 92 | isMinifyEnabled = true |
| 101 | isDebuggable = true | 93 | isDebuggable = true |
| @@ -103,16 +95,19 @@ android { | |||
| 103 | getDefaultProguardFile("proguard-android.txt"), | 95 | getDefaultProguardFile("proguard-android.txt"), |
| 104 | "proguard-rules.pro" | 96 | "proguard-rules.pro" |
| 105 | ) | 97 | ) |
| 106 | versionNameSuffix = "-debug" | 98 | versionNameSuffix = "-relWithDebInfo" |
| 99 | applicationIdSuffix = ".relWithDebInfo" | ||
| 107 | isJniDebuggable = true | 100 | isJniDebuggable = true |
| 108 | } | 101 | } |
| 109 | 102 | ||
| 110 | // Signed by debug key disallowing distribution on Play Store. | 103 | // Signed by debug key disallowing distribution on Play Store. |
| 111 | // Attaches 'debug' suffix to version and package name, allowing installation alongside the release build. | 104 | // Attaches 'debug' suffix to version and package name, allowing installation alongside the release build. |
| 112 | debug { | 105 | debug { |
| 106 | resValue("string", "app_name_suffixed", "yuzu Debug") | ||
| 113 | isDebuggable = true | 107 | isDebuggable = true |
| 114 | isJniDebuggable = true | 108 | isJniDebuggable = true |
| 115 | versionNameSuffix = "-debug" | 109 | versionNameSuffix = "-debug" |
| 110 | applicationIdSuffix = ".debug" | ||
| 116 | } | 111 | } |
| 117 | } | 112 | } |
| 118 | 113 | ||
| @@ -162,19 +157,19 @@ dependencies { | |||
| 162 | implementation("androidx.appcompat:appcompat:1.6.1") | 157 | implementation("androidx.appcompat:appcompat:1.6.1") |
| 163 | implementation("androidx.recyclerview:recyclerview:1.3.0") | 158 | implementation("androidx.recyclerview:recyclerview:1.3.0") |
| 164 | implementation("androidx.constraintlayout:constraintlayout:2.1.4") | 159 | implementation("androidx.constraintlayout:constraintlayout:2.1.4") |
| 165 | implementation("androidx.fragment:fragment-ktx:1.5.7") | 160 | implementation("androidx.fragment:fragment-ktx:1.6.0") |
| 166 | implementation("androidx.documentfile:documentfile:1.0.1") | 161 | implementation("androidx.documentfile:documentfile:1.0.1") |
| 167 | implementation("com.google.android.material:material:1.9.0") | 162 | implementation("com.google.android.material:material:1.9.0") |
| 168 | implementation("androidx.preference:preference:1.2.0") | 163 | implementation("androidx.preference:preference:1.2.0") |
| 169 | implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1") | 164 | implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1") |
| 170 | implementation("io.coil-kt:coil:2.2.2") | 165 | implementation("io.coil-kt:coil:2.2.2") |
| 171 | implementation("androidx.core:core-splashscreen:1.0.1") | 166 | implementation("androidx.core:core-splashscreen:1.0.1") |
| 172 | implementation("androidx.window:window:1.0.0") | 167 | implementation("androidx.window:window:1.1.0") |
| 173 | implementation("org.ini4j:ini4j:0.5.4") | 168 | implementation("org.ini4j:ini4j:0.5.4") |
| 174 | implementation("androidx.constraintlayout:constraintlayout:2.1.4") | 169 | implementation("androidx.constraintlayout:constraintlayout:2.1.4") |
| 175 | implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0") | 170 | implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0") |
| 176 | implementation("androidx.navigation:navigation-fragment-ktx:2.5.3") | 171 | implementation("androidx.navigation:navigation-fragment-ktx:2.6.0") |
| 177 | implementation("androidx.navigation:navigation-ui-ktx:2.5.3") | 172 | implementation("androidx.navigation:navigation-ui-ktx:2.6.0") |
| 178 | implementation("info.debatty:java-string-similarity:2.0.0") | 173 | implementation("info.debatty:java-string-similarity:2.0.0") |
| 179 | implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0") | 174 | implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0") |
| 180 | } | 175 | } |
diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml index eef566042..1e92098ec 100644 --- a/src/android/app/src/main/AndroidManifest.xml +++ b/src/android/app/src/main/AndroidManifest.xml | |||
| @@ -18,7 +18,7 @@ SPDX-License-Identifier: GPL-3.0-or-later | |||
| 18 | 18 | ||
| 19 | <application | 19 | <application |
| 20 | android:name="org.yuzu.yuzu_emu.YuzuApplication" | 20 | android:name="org.yuzu.yuzu_emu.YuzuApplication" |
| 21 | android:label="@string/app_name" | 21 | android:label="@string/app_name_suffixed" |
| 22 | android:icon="@drawable/ic_launcher" | 22 | android:icon="@drawable/ic_launcher" |
| 23 | android:allowBackup="true" | 23 | android:allowBackup="true" |
| 24 | android:hasFragileUserData="true" | 24 | android:hasFragileUserData="true" |