2019-10-13 06:06:19 +00:00
|
|
|
# AndroidX
|
2018-10-12 14:06:04 +00:00
|
|
|
android.enableJetifier=true
|
|
|
|
android.useAndroidX=true
|
2019-10-13 06:06:19 +00:00
|
|
|
|
|
|
|
# R8 Full mode
|
|
|
|
android.enableR8.fullMode=true
|
|
|
|
|
|
|
|
# Reduce memory usage in CI pipeline
|
|
|
|
org.gradle.daemon=false
|
|
|
|
org.gradle.parallel=true
|
|
|
|
org.gradle.caching=true
|
|
|
|
org.gradle.configureondemand=true
|
|
|
|
org.gradle.jvmargs=-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
|
|
|
|
|
|
|
# Disable warnings for experimental options
|
|
|
|
android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.enableR8.fullMode,android.namespacedRClass
|
|
|
|
|
|
|
|
# https://jakewharton.com/increased-accuracy-of-aapt2-keep-rules/
|
|
|
|
android.useMinimalKeepRules=true
|
|
|
|
|
|
|
|
# Enable rudimentary R class namespacing where each library only contains
|
|
|
|
# references to the resources it declares instead of declarations plus all
|
|
|
|
# transitive dependency references.
|
|
|
|
android.namespacedRClass=true
|