2019-08-29 19:40:52 +02:00
|
|
|
# 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.
|
2021-10-26 18:56:43 +02:00
|
|
|
org.gradle.jvmargs=-XX\:+UseParallelGC -Xmx4096M -Dkotlin.daemon.jvm.options\="-Xmx3072M" -XX\:MaxPermSize\=2048m -XX\:+HeapDumpOnOutOfMemoryError -Dfile.encoding\=UTF-8
|
2019-08-29 19:40:52 +02:00
|
|
|
|
|
|
|
# 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
|
2018-11-01 22:16:37 +01:00
|
|
|
android.useAndroidX=true
|
2019-08-29 19:40:52 +02:00
|
|
|
# Automatically convert third-party libraries to use AndroidX
|
2022-01-26 18:16:27 +01:00
|
|
|
# Needed until material dialogs is updated: https://github.com/ankidroid/Anki-Android/issues/5225
|
2019-08-29 19:40:52 +02:00
|
|
|
android.enableJetifier=true
|
2021-07-30 20:28:15 +02:00
|
|
|
|
2018-11-24 21:11:48 +01:00
|
|
|
# With de-coupled gradle sub-modules, they may run in parallel
|
|
|
|
org.gradle.parallel=true
|
|
|
|
|
|
|
|
# The default in the future, let's true the future now...
|
2019-06-10 03:49:58 +02:00
|
|
|
org.gradle.caching=true
|
2020-10-15 15:03:20 +02:00
|
|
|
|
|
|
|
# Enable file system watching (should reduce disk IO and increase incremental build speed).
|
2021-07-16 17:09:11 +02:00
|
|
|
org.gradle.vfs.watch=true
|
2022-01-26 18:16:27 +01:00
|
|
|
|
|
|
|
# Opt in to gradle 8 behavior, silence warning for now. Remove with AGP8+
|
|
|
|
android.disableAutomaticComponentCreation=true
|