diff options
Diffstat (limited to 'mobile/android/fenix/gradle.properties')
-rw-r--r-- | mobile/android/fenix/gradle.properties | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mobile/android/fenix/gradle.properties b/mobile/android/fenix/gradle.properties new file mode 100644 index 0000000000..2a9a9a2f1f --- /dev/null +++ b/mobile/android/fenix/gradle.properties @@ -0,0 +1,35 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +# Project-wide Gradle settings. +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html +# 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 +# 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 +#org.gradle.parallel=true +# Kotlin code style for this project: "official" or "obsolete": +kotlin.code.style=official +android.useAndroidX=true +android.enableJetifier=false + +# Enables copying of Jetpack Benchmark results from the device to the build directory. +android.enableAdditionalTestOutput=true + +libUrl=https://github.com/mozilla-mobile/firefox-android/tree/main/fenix +libVcsUrl=https://github.com/mozilla-mobile/firefox-android.git +libLicense=MPL-2.0 +libLicenseUrl=https://www.mozilla.org/en-US/MPL/2.0/ +android.nonTransitiveRClass=false +android.nonFinalResIds=false +android.enableR8.fullMode=false + +# Disable problematic AGP 8.3 optimization +android.enableNewResourceShrinker.preciseShrinking=false |