2018-10-03 23:56:33 +08: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.
|
2019-06-11 20:52:39 +08:00
|
|
|
|
2021-09-08 19:03:51 +08:00
|
|
|
# Build Time Optimizations
|
2022-02-12 22:18:53 +08:00
|
|
|
org.gradle.jvmargs=-Xmx4g -Xms512M -XX:MaxPermSize=2048m -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC
|
2021-09-08 19:03:51 +08:00
|
|
|
org.gradle.configureondemand=true
|
|
|
|
org.gradle.parallel=true
|
2020-10-15 21:46:18 +08:00
|
|
|
org.gradle.vfs.watch=true
|
2022-08-09 22:07:35 +08:00
|
|
|
org.gradle.caching=true
|
2019-06-11 20:52:39 +08:00
|
|
|
|
2021-09-08 19:03:51 +08:00
|
|
|
# Android Settings
|
2022-09-28 17:09:13 +08:00
|
|
|
android.enableJetifier=true
|
|
|
|
android.jetifier.ignorelist=android-base-common,common
|
2021-09-08 19:03:51 +08:00
|
|
|
android.useAndroidX=true
|
|
|
|
|
|
|
|
#Project Settings
|
|
|
|
# Change debugPrivateData to true for debugging
|
2019-06-11 20:52:39 +08:00
|
|
|
vector.debugPrivateData=false
|
2021-09-08 19:03:51 +08:00
|
|
|
# httpLogLevel values: NONE, BASIC, HEADERS, BODY
|
2020-12-08 18:36:12 +08:00
|
|
|
vector.httpLogLevel=BASIC
|
2019-06-11 20:52:39 +08:00
|
|
|
|
2021-09-17 22:14:11 +08:00
|
|
|
# Note: to debug, you can put and uncomment the following lines in the file ~/.gradle/gradle.properties to override the value above
|
|
|
|
#vector.debugPrivateData=true
|
2022-01-12 21:21:14 +08:00
|
|
|
#vector.httpLogLevel=BODY
|
|
|
|
|
|
|
|
# Dummy values for signing secrets
|
|
|
|
signing.element.storePath=pathTo.keystore
|
|
|
|
signing.element.storePassword=Secret
|
|
|
|
signing.element.keyId=Secret
|
|
|
|
signing.element.keyPassword=Secret
|
2022-07-05 22:07:12 +08:00
|
|
|
|
|
|
|
# Dummy values for signing secrets / nightly
|
|
|
|
signing.element.nightly.storePassword=Secret
|
|
|
|
signing.element.nightly.keyId=Secret
|
|
|
|
signing.element.nightly.keyPassword=Secret
|
2023-01-04 21:56:41 +08:00
|
|
|
|
|
|
|
# Customise the Lint version to use a more recent version than the one bundled with AGP
|
|
|
|
# https://googlesamples.github.io/android-custom-lint-rules/usage/newer-lint.md.html
|
2024-07-16 00:12:08 +08:00
|
|
|
android.experimental.lint.version=8.6.0-alpha08
|