gradle.properties (2224B)
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 20 # When configured, Gradle will run in incubating parallel mode. 21 # This option should only be used with decoupled projects. More details, visit 22 # https://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 23 # XXX Deactivated because of broken releases? 24 org.gradle.parallel=true 25 26 # File-system watching: https://blog.gradle.org/introducing-file-system-watching 27 org.gradle.vfs.watch=true 28 29 # When configured, Gradle will only configure relevant projects instead of all of them. 30 # This option should only be used with decoupled projects. More details, visit 31 # https://docs.gradle.org/current/userguide/multi_project_builds.html#sec:configuration_on_demand 32 org.gradle.configureondemand=true 33 34 # Build cache - further configured in settings.gradle 35 org.gradle.caching=true 36 37 # Workaround for intermittent failures 38 # https://github.com/mozilla-mobile/android-components/pull/5381 39 android.forceJacocoOutOfProcess=true 40 41 # Disabling unused features of the Android build system 42 android.defaults.buildfeatures.shaders=false 43 44 # Default values for pom.xml 45 libLicense=MPL-2.0 46 libLicenseUrl=https://www.mozilla.org/en-US/MPL/2.0/ 47 48 android.useAndroidX=true 49 50 # Test fixtures 51 android.experimental.enableTestFixturesKotlinSupport=true