mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
The devshell `gradle` now serialises local builds with flock and runs them under `nice` with capped workers, so several agents building at once queue instead of piling up daemons and compile workers and taking the machine down. With CI/GITHUB_ACTIONS set it execs Gradle directly, leaving CI untouched. Also shorten the Gradle daemon idle timeout so idle daemons are reaped sooner.
12 lines
302 B
Properties
12 lines
302 B
Properties
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
|
|
org.gradle.parallel=true
|
|
org.gradle.caching=true
|
|
org.gradle.configuration-cache=true
|
|
org.gradle.configuration-cache.problems=warn
|
|
org.gradle.daemon.idletimeout=600000
|
|
|
|
android.useAndroidX=true
|
|
android.nonTransitiveRClass=true
|
|
|
|
kotlin.code.style=official
|