fenix/gradle.properties
Ryan VanderMeulen e162fe7348 Set the Gradle max heap size to 7g
Github Actions workers only have 7GB available, so the 8GB limit is causing crashes in that environment.
2022-08-24 21:30:37 +00:00

22 lines
1.0 KiB
Properties

# 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
# 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
android.enableUnitTestBinaryResources=false
# Enables copying of Jetpack Benchmark results from the device to the build directory.
android.enableAdditionalTestOutput=true