gradle.properties (1736B)
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 # IDE (e.g. Android Studio) users: 7 # Gradle settings configured through the IDE *will override* 8 # any settings specified in this file. 9 # For more details on how to configure your build environment visit 10 # http://www.gradle.org/docs/current/userguide/build_environment.html 11 # Specifies the JVM arguments used for the daemon process. 12 # The setting is particularly useful for tweaking memory settings. 13 # Temporary workaround: all projects must use identical JVM arguments in gradle.properties to enable daemon sharing. 14 # Do not modify these values without first reviewing Bug 1954747: https://bugzilla.mozilla.org/show_bug.cgi?id=1954747 15 org.gradle.jvmargs=-Xmx7g -Xms2g -XX:MaxMetaspaceSize=6g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC 16 org.gradle.configureondemand=true 17 18 org.gradle.configuration-cache=true 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 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 23 #org.gradle.parallel=true 24 # Kotlin code style for this project: "official" or "obsolete": 25 kotlin.code.style=official 26 android.useAndroidX=true 27 28 # Enables copying of Jetpack Benchmark results from the device to the build directory. 29 android.enableAdditionalTestOutput=true 30 31 libLicense=MPL-2.0 32 libLicenseUrl=https://www.mozilla.org/en-US/MPL/2.0/ 33 android.enableR8.fullMode=false 34 35 # Test fixtures 36 android.experimental.enableTestFixturesKotlinSupport=true