summaryrefslogtreecommitdiffstats
path: root/mobile/android/android-components/gradle.properties
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /mobile/android/android-components/gradle.properties
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/android-components/gradle.properties')
-rw-r--r--mobile/android/android-components/gradle.properties59
1 files changed, 59 insertions, 0 deletions
diff --git a/mobile/android/android-components/gradle.properties b/mobile/android/android-components/gradle.properties
new file mode 100644
index 0000000000..dddf8a40db
--- /dev/null
+++ b/mobile/android/android-components/gradle.properties
@@ -0,0 +1,59 @@
+# 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
+org.gradle.daemon=true
+
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# https://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# XXX Deactivated because of broken releases?
+org.gradle.parallel=true
+
+# File-system watching: https://blog.gradle.org/introducing-file-system-watching
+org.gradle.vfs.watch=true
+
+# When configured, Gradle will only configure relevant projects instead of all of them.
+# This option should only be used with decoupled projects. More details, visit
+# https://docs.gradle.org/current/userguide/multi_project_builds.html#sec:configuration_on_demand
+org.gradle.configureondemand=true
+
+# Build cache - further configured in settings.gradle
+org.gradle.caching=true
+
+# Workaround for intermittent failures
+# https://github.com/mozilla-mobile/android-components/pull/5381
+android.forceJacocoOutOfProcess=true
+
+# Disabling unused features of the Android build system
+android.defaults.buildfeatures.aidl=false
+android.defaults.buildfeatures.renderscript=false
+android.defaults.buildfeatures.shaders=false
+
+# Default values for pom.xml
+libRepositoryName=Mozilla-Mobile
+libUrl=https://github.com/mozilla-mobile/firefox-android/tree/main/android-components
+libVcsUrl=https://github.com/mozilla-mobile/firefox-android.git
+libLicense=MPL-2.0
+libLicenseUrl=https://www.mozilla.org/en-US/MPL/2.0/
+
+android.useAndroidX=true
+android.enableJetifier=false
+
+# Non-Transitive R Classes
+android.nonTransitiveRClass=true
+
+# Disable problematic AGP 8.3 optimization
+android.enableNewResourceShrinker.preciseShrinking=false