-
Notifications
You must be signed in to change notification settings - Fork 409
Expand file tree
/
Copy pathgradle.properties
More file actions
32 lines (25 loc) · 1.13 KB
/
Copy pathgradle.properties
File metadata and controls
32 lines (25 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
APP_VERSION_NAME=0.7.5-beta
APP_VERSION_CODE=9
org.gradle.configuration-cache=true
# Adjusted to stay within 3GB limit and avoid thrashing
# Increased heap to 4GB and Metaspace to 1024m to prevent memory exhaustion
org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1024m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+ParallelRefParsingEnabled
org.gradle.workers.max=6
org.gradle.parallel=true
androidx.benchmark.suppressErrors=EMULATOR,LOW-BATTERY,THERMAL
# R8 Full Mode is generally recommended to be enabled unless there are specific issues.
# android.enableR8.fullMode=false
# Aligning with AGP 9.2+ defaults and removing deprecated settings
android.sdk.defaultTargetSdkToCompileSdkIfUnset=true
android.enableAppCompileTimeRClass=true
android.usesSdkInManifest.disallowed=true
android.r8.optimizedResourceShrinking=true
android.defaults.buildfeatures.resvalues=false
# Cleanup of other non-essential/deprecated flags
android.dependency.useConstraints=false
android.r8.strictFullModeForKeepRules=true
android.builtInKotlin=true
android.newDsl=true
ksp.useKSP2=true