org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8 -XX:+UseParallelGC org.gradle.parallel=true # Build cache deliberately OFF. With Compose Compiler + Kotlin MPP, `./gradlew # clean :desktop:run` can restore stale compiled bytecode from the cache for # inputs that look unchanged to the cache but produced different output under # an earlier Kotlin/Compose plugin version — manifesting as "I changed the # code, ran clean, and the old behavior came back". The dev cycle hit it # repeatedly on tooltip refactors. Slower clean builds are worth never # having to wonder which version of the bytecode is actually running. org.gradle.caching=false org.gradle.configuration-cache=true # AndroidX android.useAndroidX=true android.nonTransitiveRClass=true # Kotlin kotlin.code.style=official kotlin.mpp.stability.nowarn=true kotlin.mpp.enableCInteropCommonization=true kotlin.native.ignoreDisabledTargets=true # We deliberately use explicit dependsOn for jvmCommonMain (shared between android and # desktop targets), which the default hierarchy template doesn't cover. Opt out of the # warning rather than work around our intentional layout. kotlin.mpp.applyDefaultHierarchyTemplate=false # Compose Multiplatform org.jetbrains.compose.experimental.jscanvas.enabled=false org.jetbrains.compose.experimental.macos.enabled=true