Add -XX:+UseParallelGC to potentially improve build performance

This commit is contained in:
Ali Khaleqi Yekta 2021-06-20 16:58:26 +04:30 committed by John O'Reilly
parent 3dc68bb218
commit f5a78b6079

View file

@ -6,7 +6,8 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# -XX:+UseParallelGC: https://developer.android.com/studio/releases/gradle-plugin#optimize-gc-jdk-11
org.gradle.jvmargs=-Xmx1536m -XX:+UseParallelGC
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
@ -20,4 +21,4 @@ android.enableJetifier=false
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# XCode
xcodeproj=./ios/PeopleInSpaceSwiftUI
xcodeproj=./ios/PeopleInSpaceSwiftUI