gradle.properties (1521B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 # Project-wide Gradle settings. 6 7 # IDE (e.g. Android Studio) users: 8 # Gradle settings configured through the IDE *will override* 9 # any settings specified in this file. 10 11 # For more details on how to configure your build environment visit 12 # http://www.gradle.org/docs/current/userguide/build_environment.html 13 14 # Specifies the JVM arguments used for the daemon process. 15 # The setting is particularly useful for tweaking memory settings. 16 # Temporary workaround: all projects must use identical JVM arguments in gradle.properties to enable daemon sharing. 17 # Do not modify these values without first reviewing Bug 1954747: https://bugzilla.mozilla.org/show_bug.cgi?id=1954747 18 org.gradle.jvmargs=-Xmx7g -Xms2g -XX:MaxMetaspaceSize=6g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC 19 org.gradle.configureondemand=true 20 android.useAndroidX=true 21 22 org.gradle.configuration-cache=true 23 24 # When configured, Gradle will run in incubating parallel mode. 25 # This option should only be used with decoupled projects. More details, visit 26 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 27 # org.gradle.parallel=true 28 29 libLicense=MPL-2.0 30 libLicenseUrl=https://www.mozilla.org/en-US/MPL/2.0/ 31 android.enableR8.fullMode=false 32 33 # Test fixtures 34 android.experimental.enableTestFixturesKotlinSupport=true