gradle.properties
29 lines · 1.3 KB
Changed in: 0.5.0
| 1 | org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8 -XX:+UseParallelGC |
| 2 | org.gradle.parallel=true |
| 3 | # Build cache deliberately OFF. With Compose Compiler + Kotlin MPP, `./gradlew |
| 4 | # clean :desktop:run` can restore stale compiled bytecode from the cache for |
| 5 | # inputs that look unchanged to the cache but produced different output under |
| 6 | # an earlier Kotlin/Compose plugin version — manifesting as "I changed the |
| 7 | # code, ran clean, and the old behavior came back". The dev cycle hit it |
| 8 | # repeatedly on tooltip refactors. Slower clean builds are worth never |
| 9 | # having to wonder which version of the bytecode is actually running. |
| 10 | org.gradle.caching=false |
| 11 | org.gradle.configuration-cache=true |
| 12 | |
| 13 | # AndroidX |
| 14 | android.useAndroidX=true |
| 15 | android.nonTransitiveRClass=true |
| 16 | |
| 17 | # Kotlin |
| 18 | kotlin.code.style=official |
| 19 | kotlin.mpp.stability.nowarn=true |
| 20 | kotlin.mpp.enableCInteropCommonization=true |
| 21 | kotlin.native.ignoreDisabledTargets=true |
| 22 | # We deliberately use explicit dependsOn for jvmCommonMain (shared between android and |
| 23 | # desktop targets), which the default hierarchy template doesn't cover. Opt out of the |
| 24 | # warning rather than work around our intentional layout. |
| 25 | kotlin.mpp.applyDefaultHierarchyTemplate=false |
| 26 | |
| 27 | # Compose Multiplatform |
| 28 | org.jetbrains.compose.experimental.jscanvas.enabled=false |
| 29 | org.jetbrains.compose.experimental.macos.enabled=true |


