Cache app/build to speed up builds

This commit is contained in:
Ricki Hirner
2023-11-17 15:14:04 +01:00
parent ee637e4f6d
commit 90c72ec013
3 changed files with 50 additions and 4 deletions

View File

@@ -1,11 +1,13 @@
# [https://developer.android.com/build/optimize-your-build#optimize]
# https://developer.android.com/build/optimize-your-build
org.gradle.daemon=true
org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=512m
org.gradle.parallel=true
# configuration cache [https://developer.android.com/build/optimize-your-build#use-the-configuration-cache-experimental]
org.gradle.unsafe.configuration-cache=true
org.gradle.unsafe.configuration-cache-problems=warn
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn
# https://docs.gradle.org/current/userguide/build_cache.html
org.gradle.caching=true
# Android
android.useAndroidX=true