# --enable-native-access=ALL-UNNAMED silences the JDK 22+ "restricted
# method in java.lang.System has been called" warning that Gradle 9.1's
# bundled native-platform-0.22-milestone-28.jar trips via System.load().
# Future JDKs will require this opt-in to allow native loads from
# unnamed modules; the jar itself doesn't yet declare native access in
# its manifest, so we opt in at the daemon level.
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8 --enable-native-access=ALL-UNNAMED
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configuration-cache=true
android.useAndroidX=true
android.nonTransitiveRClass=true

# detekt 2.0-alpha + ktlint Gradle plugin have intermittent
# configuration-cache compatibility holes. Warn rather than fail so the
# CC speedup applies where it can; revisit when both tools ship stable
# CC-clean releases.
org.gradle.configuration-cache.problems=warn
kotlin.code.style=official
