# Gradle JVM settings - optimized for limited RAM
org.gradle.jvmargs=-Xmx3G -XX:MaxMetaspaceSize=1G -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.daemon=true
org.gradle.parallel=false
org.gradle.caching=true
org.gradle.configureondemand=true

# Android settings
android.useAndroidX=true
android.enableJetifier=true
android.enableR8.fullMode=false

# Kotlin settings
kotlin.daemon.jvmargs=-Xmx1G -XX:MaxMetaspaceSize=512m
kotlin.incremental=true
kotlin.incremental.usePreciseJavaTracking=true

# Build optimization
# android.enableBuildCache=true  # Deprecated in AGP 7.0+, use org.gradle.caching instead
org.gradle.vfs.watch=false
