forked from xdevs23/viscerion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgradle.properties
32 lines (25 loc) · 1.07 KB
/
gradle.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# AndroidX
android.useAndroidX=true
# R8 Full mode
android.enableR8.fullMode=true
# Incremental annotation processing
android.enableSeparateAnnotationProcessing=true
android.databinding.incremental=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
# Kapt controls
kapt.use.worker.api=true
kapt.incremental.apt=true
kapt.include.compile.classpath=false
# Disable warnings for experimental options
android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,android.enableR8.fullMode,android.namespacedRClass,android.enableSeparateAnnotationProcessing
# 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