Stabilize Android builds by compiling Kotlin in-process.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
8301d5191f
commit
0959764320
1 changed files with 6 additions and 3 deletions
|
|
@ -1,9 +1,12 @@
|
||||||
# Lichter voor ~16GB RAM + Android Studio open
|
# Stabieler op ~16GB RAM + Android Studio (Kotlin daemon crashte vaak)
|
||||||
org.gradle.jvmargs=-Xmx1024m -XX:MaxMetaspaceSize=384m -Dfile.encoding=UTF-8
|
org.gradle.jvmargs=-Xmx1536m -XX:MaxMetaspaceSize=384m -XX:+UseG1GC -Dfile.encoding=UTF-8
|
||||||
org.gradle.parallel=false
|
org.gradle.parallel=false
|
||||||
org.gradle.workers.max=1
|
org.gradle.workers.max=1
|
||||||
org.gradle.caching=true
|
org.gradle.caching=true
|
||||||
|
org.gradle.daemon=true
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
android.nonTransitiveRClass=true
|
android.nonTransitiveRClass=true
|
||||||
kotlin.daemon.jvmargs=-Xmx768m
|
# Compile in-process i.p.v. aparte Kotlin-daemon (voorkomt RMI Connection refused)
|
||||||
|
kotlin.compiler.execution.strategy=in-process
|
||||||
|
kotlin.incremental=false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue