Bug 2064220 - Enable parallelism for Gradle Tooling API actions. r=android-reviewers,adhingra
This used to inherit from the org.gradle.parallel option automatically, but now must be set separately as of Android Studio Quail 1. https://developer.android.com/studio/releases/past-releases/as-quail-1-release-notes#android_studio_quail_1_parallel_gradle_sync_execution_change Differential Revision: https://phabricator.services.mozilla.com/D319274
This commit is contained in:
committed by
rvandermeulen@mozilla.com
parent
9cc7a4de03
commit
2a997fbcb1
@@ -3,6 +3,7 @@
|
|||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
org.gradle.tooling.parallel=true
|
||||||
org.gradle.configureondemand=true
|
org.gradle.configureondemand=true
|
||||||
# Be careful when changing org.gradle.jvmargs below. It will clobber
|
# Be careful when changing org.gradle.jvmargs below. It will clobber
|
||||||
# any defaults set by Gradle: https://github.com/gradle/gradle/issues/19750
|
# any defaults set by Gradle: https://github.com/gradle/gradle/issues/19750
|
||||||
|
|||||||
@@ -17,11 +17,11 @@
|
|||||||
# Do not modify these values without first reviewing Bug 1954747: https://bugzilla.mozilla.org/show_bug.cgi?id=1954747
|
# Do not modify these values without first reviewing Bug 1954747: https://bugzilla.mozilla.org/show_bug.cgi?id=1954747
|
||||||
org.gradle.jvmargs=-Xmx7g -Xms2g -XX:MaxMetaspaceSize=6g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC
|
org.gradle.jvmargs=-Xmx7g -Xms2g -XX:MaxMetaspaceSize=6g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC
|
||||||
|
|
||||||
# When configured, Gradle will run in incubating parallel mode.
|
# Enable parallel execution and model fetching during Gradle Sync.
|
||||||
# This option should only be used with decoupled projects. More details, visit
|
# Both properties must be individually set per
|
||||||
# https://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
# https://developer.android.com/studio/releases/past-releases/as-quail-1-release-notes#android_studio_quail_1_parallel_gradle_sync_execution_change
|
||||||
# XXX Deactivated because of broken releases?
|
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
org.gradle.tooling.parallel=true
|
||||||
|
|
||||||
# When configured, Gradle will only configure relevant projects instead of all of them.
|
# When configured, Gradle will only configure relevant projects instead of all of them.
|
||||||
# This option should only be used with decoupled projects. More details, visit
|
# This option should only be used with decoupled projects. More details, visit
|
||||||
|
|||||||
@@ -20,10 +20,11 @@ org.gradle.configureondemand=true
|
|||||||
|
|
||||||
org.gradle.configuration-cache=true
|
org.gradle.configuration-cache=true
|
||||||
|
|
||||||
# When configured, Gradle will run in incubating parallel mode.
|
# Enable parallel execution and model fetching during Gradle Sync.
|
||||||
# This option should only be used with decoupled projects. More details, visit
|
# Both properties must be individually set per
|
||||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
# https://developer.android.com/studio/releases/past-releases/as-quail-1-release-notes#android_studio_quail_1_parallel_gradle_sync_execution_change
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
org.gradle.tooling.parallel=true
|
||||||
|
|
||||||
# Enables copying of Jetpack Benchmark results from the device to the build directory.
|
# Enables copying of Jetpack Benchmark results from the device to the build directory.
|
||||||
android.enableAdditionalTestOutput=true
|
android.enableAdditionalTestOutput=true
|
||||||
|
|||||||
@@ -20,10 +20,11 @@ org.gradle.configureondemand=true
|
|||||||
|
|
||||||
org.gradle.configuration-cache=true
|
org.gradle.configuration-cache=true
|
||||||
|
|
||||||
# When configured, Gradle will run in incubating parallel mode.
|
# Enable parallel execution and model fetching during Gradle Sync.
|
||||||
# This option should only be used with decoupled projects. More details, visit
|
# Both properties must be individually set per
|
||||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
# https://developer.android.com/studio/releases/past-releases/as-quail-1-release-notes#android_studio_quail_1_parallel_gradle_sync_execution_change
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
org.gradle.tooling.parallel=true
|
||||||
|
|
||||||
libLicense=MPL-2.0
|
libLicense=MPL-2.0
|
||||||
libLicenseUrl=https://www.mozilla.org/en-US/MPL/2.0/
|
libLicenseUrl=https://www.mozilla.org/en-US/MPL/2.0/
|
||||||
|
|||||||
Reference in New Issue
Block a user