-
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathgradle.properties
More file actions
59 lines (57 loc) · 2.88 KB
/
Copy pathgradle.properties
File metadata and controls
59 lines (57 loc) · 2.88 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -----------------------------------------------------------------------------
# PERFORMANCE (THE BASICS)
# -----------------------------------------------------------------------------
org.gradle.configuration-cache=true
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.vfs.watch=true
# Enabled parallel sync for Gradle 9.4+
org.gradle.tooling.parallel=true
# -----------------------------------------------------------------------------
# MEMORY TUNING (UPDATED FOR RESPONSIVENESS)
# -----------------------------------------------------------------------------
# Switched to G1GC based on your preference for system responsiveness.
# G1GC handles large heaps better and avoids long "stop-the-world" pauses.
# Note: G1GC performs best with more breathing room.
# If you have 32GB RAM, bump this to -Xmx6g or -Xmx8g.
org.gradle.jvmargs=-Xmx4g -XX:+UseG1GC -XX:MaxMetaspaceSize=1g
# Kotlin Daemon: Separate from Gradle daemon.
kotlin.daemon.jvmargs=-Xmx2g -XX:+UseG1GC
# -----------------------------------------------------------------------------
# R8 / SHRINKER OPTIMIZATIONS (RUTHLESS)
# -----------------------------------------------------------------------------
android.r8.strictFullModeForKeepRules=true
android.r8.optimizedResourceShrinking=true
android.enableR8.fullMode=true
# -----------------------------------------------------------------------------
# KOTLIN & COMPOSE (KOTLIN 2.0 ERA)
# -----------------------------------------------------------------------------
kotlin.code.style=official
kotlin.incremental=true
kotlin.parallel.tasks.in.project=true
# -----------------------------------------------------------------------------
# KSP (SINCE YOU USE KOIN)
# -----------------------------------------------------------------------------
ksp.incremental=true
# ksp.use.k2=true
# -----------------------------------------------------------------------------
# ANDROID BUILD FEATURES
# -----------------------------------------------------------------------------
android.nonTransitiveRClass=true
android.useAndroidX=true
# -----------------------------------------------------------------------------
# LOGGING
# -----------------------------------------------------------------------------
org.gradle.warning.mode=all
org.gradle.welcome=never
# -----------------------------------------------------------------------------
# APPLICATION VERSIONING (REPRODUCIBLE BUILD SETUP)
# -----------------------------------------------------------------------------
# Kept as fallback for clean builds
initialVersionCode=1921
# REQUIRED: The active source of truth for our release manager
# Logic: 1822 -> 1.82.2 (based on math: code/1000 . code%1000/10 . code%10)
versionCode=1940
# versionName intentionally omitted — auto-calculated from versionCode by the
# resolveVersionName()/calculateVersionName() helpers in app/build.gradle.kts
# (1908 -> 1.90.8). Per CLAUDE.md, never set versionName directly; bump versionCode only.