Commit 1a54ec04 authored by Sebastian Kaspari's avatar Sebastian Kaspari Committed by mergify[bot]
Browse files

Update gradle.properties.

I looked at the configuration of androidx-master-dev and found some configuration flags that
may help us too:
https://android.googlesource.com/platform/frameworks/support/+/androidx-master-dev/gradle.properties
parent 418edc51
Loading
Loading
Loading
Loading
+18 −5
Original line number Diff line number Diff line
@@ -9,7 +9,8 @@

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx4096m
org.gradle.jvmargs=-Xmx8g -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
@@ -17,6 +18,9 @@ org.gradle.jvmargs=-Xmx4096m
# XXX Deactivated because of broken releases?
org.gradle.parallel=false

# 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
@@ -25,15 +29,24 @@ 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

# Run multiple kotlin compilations in parallel within the same project.
kotlin.parallel.tasks.in.project=true

# Default values for pom.xml
libRepositoryName=Mozilla-Mobile
libUrl=https://github.com/mozilla-mobile/android-components
libVcsUrl=https://github.com/mozilla-mobile/android-components.git

libLicense=MPL-2.0
libLicenseUrl=https://www.mozilla.org/en-US/MPL/2.0/

android.useAndroidX=true
android.enableJetifier=true

android.forceJacocoOutOfProcess=true