You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.9 KiB
61 lines
2.9 KiB
# 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.
|
|
# Ensure important default jvmargs aren't overwritten. See https://github.com/gradle/gradle/issues/19750
|
|
org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g
|
|
|
|
# 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
|
|
|
|
# Not encouraged by Gradle and can produce weird results. Wait for isolated projects instead.
|
|
org.gradle.configureondemand=false
|
|
|
|
# Enable caching between builds.
|
|
org.gradle.caching=true
|
|
|
|
# Enable configuration caching between builds.
|
|
#org.gradle.configuration-cache=true # commented since its causing build errors, check later
|
|
|
|
# This option is set because of https://github.com/google/play-services-plugins/issues/246
|
|
# to generate the Configuration Cache regardless of incompatible tasks.
|
|
# See https://github.com/android/nowinandroid/issues/1022 before using it.
|
|
org.gradle.configuration-cache.problems=warn
|
|
|
|
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
# Android operating system, and which are packaged with your app"s APK
|
|
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
android.useAndroidX=true
|
|
# Kotlin code style for this project: "official" or "obsolete":
|
|
kotlin.code.style=official
|
|
|
|
# Disable build features that are enabled by default,
|
|
# https://developer.android.com/build/releases/gradle-plugin#default-changes
|
|
android.defaults.buildfeatures.resvalues=false
|
|
android.defaults.buildfeatures.shaders=false
|
|
|
|
# Run Roborazzi screenshot tests with the local tests
|
|
roborazzi.test.verify=true
|
|
|
|
# Suppress: The following Kotlin/Native targets cannot be built on this machine and are disabled
|
|
kotlin.native.ignoreDisabledTargets=true
|
|
|
|
# Suppress: ERROR: Compose targets '[macos]' are experimental and may have bugs!
|
|
org.jetbrains.compose.experimental.macos.enabled=true
|
|
|
|
# https://youtrack.jetbrains.com/issue/KT-67806/KMP-import-fails-if-android-target-has-flavors
|
|
# Supporess androidDemoDebugResourcesCopyHierarchicalMultiplatformResources' has completed is not supported
|
|
# TODO: Needs to be removed once the issue is fixed
|
|
kotlin.mpp.enableResourcesPublication=false
|
|
|
|
# suppressing build warnings for experimental features
|
|
org.jetbrains.compose.experimental.wasm.enabled=true
|
|
org.jetbrains.compose.experimental.jscanvas.enabled=true
|