File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77# http://www.gradle.org/docs/current/userguide/build_environment.html
88#
99# region [Gradle]
10+ # https://developer.android.com/build/optimize-your-build#experiment-with-the-jvm-parallel-garbage-collector
11+ # https://developer.android.com/build/optimize-your-build#increase-the-jvm-heap-size
12+ # https://kotlinlang.org/docs/gradle-compilation-and-caches.html#the-kotlin-daemon-and-how-to-use-it-with-gradle
13+ #
1014# Specifies the JVM arguments used for the daemon process.
1115# The setting is particularly useful for tweaking memory settings.
12- org.gradle.jvmargs =-Xmx1024M -Dkotlin.daemon.jvm.options\="-Xmx1024M" -XX\ :+HeapDumpOnOutOfMemoryError -Dfile.encoding\ =UTF-8 -XX\ :+UseParallelGC -XX\ :MaxMetaspaceSize\=512m
16+ org.gradle.jvmargs =-Xmx2g -XX :+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g
1317#
1418# When configured, Gradle will run in incubating parallel mode.
15- # This option should only be used with decoupled projects. More details, visit
16- # http ://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
19+ # This option should only be used with decoupled projects. For more details, visit
20+ # https ://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
1721org.gradle.parallel =true
1822#
1923org.gradle.caching =true
You can’t perform that action at this time.
0 commit comments