org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
org.gradle.caching=true
# Configuration cache: off for now — the cargo-ndk Exec task graph is simpler to reason about
# during the scaffold. Enable once the native-build wiring is stable.
org.gradle.configuration-cache=false

android.useAndroidX=true
android.nonTransitiveRClass=true

kotlin.code.style=official

# Gradle/AGP 9.2 must RUN on JDK 17–21 — NOT this machine's default JDK 25.
#  * Android Studio uses its bundled JBR 21 automatically (no config needed).
#  * CLI builds: launch gradlew with JDK 21, e.g.
#      JAVA_HOME="$(brew --prefix openjdk@21)/libexec/openjdk.jdk/Contents/Home" ./gradlew assembleDebug
# Intentionally NOT setting org.gradle.java.home here — it would hardcode a machine-specific path.
