Skip to content

Commit

Permalink
Bug 1947567 - Enable configuration-on-demand. r=android-reviewers,nal…
Browse files Browse the repository at this point in the history
…exander,florian,ohall

Differential Revision: https://phabricator.services.mozilla.com/D237783
  • Loading branch information
AadityaMozilla committed Feb 12, 2025
1 parent 589ccb3 commit 5a60478
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

org.gradle.parallel=true
org.gradle.daemon=true
org.gradle.configureondemand=true
# Be careful when changing org.gradle.jvmargs below. It will clobber
# any defaults set by Gradle: https://github.com/gradle/gradle/issues/19750
org.gradle.jvmargs=-Xmx8g -Xms2g -XX:MaxMetaspaceSize=6g
Expand Down
1 change: 1 addition & 0 deletions mobile/android/fenix/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx7g -Xms2g -XX:MaxMetaspaceSize=6g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC
org.gradle.configureondemand=true
# 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
Expand Down
1 change: 1 addition & 0 deletions mobile/android/focus-android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# The setting is particularly useful for tweaking memory settings.
android.useAndroidX=true
org.gradle.jvmargs=-Xmx7g -Xms2g -XX:MaxMetaspaceSize=6g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC
org.gradle.configureondemand=true

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
Expand Down

0 comments on commit 5a60478

Please sign in to comment.