davx5-ose/gradle.properties
Ricki Hirner 06e7eeb391
Don't use Gradle build and configuration cache for releases (#662)
* Don't use Gradle build and configuration cache for releases

- don't enable Gradle build and configuration cache for the project, but recommend it for the developer
- explicitly enable Gradle build and configuration cache for CI test jobs
- let AboutLibraries generate lib definitions itself again
- also don't archive test results (sometimes fails and we never use the results)

* Add encryption key for gradle cache

* Only warn on configuration cache problems (caused by AboutLibraries)
2024-03-20 15:29:21 +01:00

20 lines
563 B
Properties

# 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
# Android
android.useAndroidX=true
android.enableR8.fullMode=false
# It's recommended to add these settings to your $GRADLE_USER_HOME/gradle.properties:
# org.gradle.configuration-cache=true
# org.gradle.configuration-cache.problems=warn
# https://docs.gradle.org/current/userguide/build_cache.html
# org.gradle.caching=true