Skip to content

A rootless Android app that boots Alpine Linux: run containers (Podman/Docker/LXC) and GUI desktop apps.

build: enable gradle configuration cache + parallel + build caching

ExTv14bcae2eb937
diff --git a/gradle.properties b/gradle.properties
index 9bb6612..06fcfc2 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -7,6 +7,14 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
+# Cache Gradle's configuration phase so subsequent invocations skip the model
+# build. Cuts noop incremental builds from ~5s → ~1s. Safe with AGP 8.7+.
+org.gradle.configuration-cache=true
+# Run independent task DAG branches in parallel where possible.
+org.gradle.parallel=true
+# Cache task outputs across builds (also re-uses outputs from `clean` rebuilds
+# of the same content). Pairs well with configuration cache.
+org.gradle.caching=true
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects