Skip to content

Commit c900da6

Browse files
committed
build: signing key update
1 parent d226162 commit c900da6

2 files changed

Lines changed: 28 additions & 11 deletions

File tree

app/build.gradle.kts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ fun fetchGitCommitHash(): String {
2424

2525
val gitCommitHash = fetchGitCommitHash()
2626
val keyProps = Properties()
27-
val keyPropsFile: File = rootProject.file("signature/keystore.properties")
27+
val releaseKeyPropsFile: File = rootProject.file("signature/keystore_release.properties")
28+
val debugKeyPropsFile: File = rootProject.file("signature/keystore.properties")
2829

29-
if (keyPropsFile.exists()) {
30-
println("Loading keystore properties from ${keyPropsFile.absolutePath}")
31-
keyProps.load(FileInputStream(keyPropsFile))
30+
31+
if (releaseKeyPropsFile.exists()) {
32+
println("Loading keystore properties from ${releaseKeyPropsFile.absolutePath}")
33+
keyProps.load(FileInputStream(releaseKeyPropsFile))
34+
} else if (debugKeyPropsFile.exists()) {
35+
keyProps.load(FileInputStream(debugKeyPropsFile))
3236
}
3337

3438
android {

gradle.properties

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
1+
## For more details on how to configure your build environment visit
2+
# http://www.gradle.org/docs/current/userguide/build_environment.html
3+
#
4+
# Specifies the JVM arguments used for the daemon process.
5+
# The setting is particularly useful for tweaking memory settings.
6+
# Default value: -Xmx1024m -XX:MaxPermSize=256m
7+
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
8+
#
9+
# When configured, Gradle will run in incubating parallel mode.
10+
# This option should only be used with decoupled projects. For more details, visit
11+
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
12+
# org.gradle.parallel=true
13+
#Mon Jan 26 03:01:42 SGT 2026
14+
android.buildConfig=true
15+
android.enableR8.fullMode=false
16+
android.nonFinalResIds=true
17+
android.nonTransitiveRClass=true
18+
android.useAndroidX=true
19+
kotlin.compiler.execution.strategy=in-process
120
org.gradle.daemon=true
2-
org.gradle.jvmargs=-Xmx8g -Xms512m -XX:MaxMetaspaceSize=1g -Dkotlin.daemon.jvm.options=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dfile.encoding=UTF-8
21+
org.gradle.jvmargs=-Xmx8192M -Xms512m -XX\:MaxMetaspaceSize\=1g -Dkotlin.daemon.jvm.options\="-Xmx8192M" -XX\:+HeapDumpOnOutOfMemoryError -XX\:+UseParallelGC -Dfile.encoding\=UTF-8
322
org.gradle.parallel=true
4-
kotlin.compiler.execution.strategy=in-process
5-
android.buildConfig = true
6-
android.useAndroidX=true
7-
android.nonTransitiveRClass=true
8-
android.nonFinalResIds=true
9-
android.enableR8.fullMode=false

0 commit comments

Comments
 (0)