-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathgradle.properties
More file actions
40 lines (40 loc) · 2.09 KB
/
gradle.properties
File metadata and controls
40 lines (40 loc) · 2.09 KB
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
33
34
35
36
37
38
39
40
# Gradle properties
# For multi-module projects, this tells Gradle to only configure the projects that are necessary for the current build.
# This reduces the configuration overhead when only a subset of modules needs to be built, improving speed for large projects.
org.gradle.configureondemand=true
# If you change the default memory limit, you also need to set the MaxMetaspaceSize to avoid build issues.
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx4g" -XX:+UseParallelGC
org.gradle.parallel=true
# The cache stores previous build results, and greatly reduces the need to rebuild things when they have already been built locally.
org.gradle.caching=true
# With Configuration cache,
# Gradle can skip the configuration phase entirely
# when nothing that affects the build configuration has changed
org.gradle.unsafe.configuration-cache=true
# Use this flag to get warnings instead of errors if plugins are not compatible.
org.gradle.configuration-cache.problems=warn
# Should be enabled for better performance
org.gradle.daemon=true
# Gradle spends a lot of time in the configuration phase in large projects
# The configuration cache lets Gradle skip this phase entirely if inputs haven?t changed.
org.gradle.configuration-cache=true
# Show more logs
org.gradle.console=verbose
# Application properties
android.enableJetifier=false
android.useAndroidX=true
kapt.incremental.apt=true
kotlin.code.style=official
# Abdroid Build features default values
android.defaults.buildfeatures.aidl=false
android.defaults.buildfeatures.buildconfig=false
android.defaults.buildfeatures.databinding=false
android.defaults.buildfeatures.renderscript=false
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false
android.defaults.buildfeatures.viewbinding=false
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.nonFinalResIds=false