-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathgradle.properties
More file actions
18 lines (18 loc) · 1.19 KB
/
gradle.properties
File metadata and controls
18 lines (18 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Android
android.useAndroidX=true
## Disable buildFeatures flags by default: https://developer.android.com/build/releases/gradle-plugin#default-changes
android.defaults.buildfeatures.resvalues=false
android.defaults.buildfeatures.shaders=false
# Gradle
## Ensure important default jvmargs aren't overwritten. See https://github.com/gradle/gradle/issues/19750
## To remove warnings about "Sharing is only supported for boot loader classes", these properties have been added: -XX:+IgnoreUnrecognizedVMOptions -XX:+SuppressCDSWarning
org.gradle.jvmargs=-Dfile.encoding=UTF-8,-XX:+UseG1GC,-XX:SoftRefLRUPolicyMSPerMB=1,-XX:ReservedCodeCacheSize=512m,-XX:InitialCodeCacheSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx8g,-XX:+IgnoreUnrecognizedVMOptions,-XX:+SuppressCDSWarning
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.parallel=true
org.gradle.kotlin.dsl.allWarningsAsErrors=true
# Kotlin
kotlin.code.style=official
kotlin.compiler.execution.strategy=in-process
kotlin.daemon.jvmargs=-Dfile.encoding=UTF-8,-XX:+UseG1GC,-XX:SoftRefLRUPolicyMSPerMB=1,-XX:ReservedCodeCacheSize=512m,-XX:InitialCodeCacheSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx8g