google / jetpack-camera-app

Apache License 2.0
152 stars 29 forks source link

Turn on common gradle optimization flags #260

Open yogurtearl opened 3 months ago

yogurtearl commented 3 months ago

Add all (or some) of these options to the gradle.properties file.

# https://docs.gradle.org/current/userguide/build_cache.html
org.gradle.caching=true

# https://docs.gradle.org/current/userguide/performance.html#parallel_execution
org.gradle.parallel=true

# https://docs.gradle.org/current/userguide/gradle_daemon.html#sec:daemon_watch_fs
org.gradle.vfs.watch=true

# https://docs.gradle.org/current/userguide/configuration_cache.html
org.gradle.configuration-cache=true

See nowinandroid for reference: https://github.com/android/nowinandroid/blob/main/gradle.properties