2022-01-03 23:59:44 +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.
2023-05-14 23:02:15 +08:00
# Default value: -Xmx512m -Xms256m -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError
2023-05-14 22:45:38 +08:00
# Bugs: This will override important JVM argument defaults. Include all important JVM arguments if you wan to change arguments. See https://github.com/gradle/gradle/issues/19750
2023-05-14 23:02:15 +08:00
org.gradle.jvmargs = -XX:+UseParallelGC -Xmx6g -Xms256m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
2022-01-03 23:59:44 +08:00
# 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
# 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
# Automatically convert third-party libraries to use AndroidX
2023-01-24 21:40:53 +08:00
android.enableJetifier = false
2022-01-03 23:59:44 +08:00
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style = official
2022-09-29 13:57:59 +08:00
kotlin.incremental.useClasspathSnapshot = true
2022-01-03 23:59:44 +08:00
android.enableResourceOptimizations = true
2023-04-17 12:23:31 +08:00
# android.enableNewResourceShrinker' is deprecated.
# It was removed in version 8.0 of the Android Gradle plugin.
# android.enableNewResourceShrinker=true
2022-05-23 23:45:37 +08:00
android.experimental.enableNewResourceShrinker.preciseShrinking = true
2022-10-03 19:10:28 +08:00
# https://blog.gradle.org/introducing-file-system-watching
org.gradle.vfs.watch = true
2023-01-28 12:51:34 +08:00
# enable cache can not up app version
2023-09-05 07:32:42 +08:00
org.gradle.unsafe.configuration-cache = false
2022-10-03 19:10:28 +08:00
# Disable buildFeatures flags by default
android.defaults.buildfeatures.aidl = false
android.defaults.buildfeatures.buildconfig = false
android.defaults.buildfeatures.renderscript = false
android.defaults.buildfeatures.resvalues = false
android.defaults.buildfeatures.shaders = false
2022-05-23 23:45:37 +08:00
# enables namespacing of each library's R class so that its R class includes only the resources declared in the library itself
# and none from the library's dependencies, thereby reducing the size of the R class for that library.
android.nonTransitiveRClass = true
2023-01-28 12:51:34 +08:00
# https://chromiumdash.appspot.com/releases?platform=Android
2024-08-19 09:32:05 +08:00
CronetVersion = 128.0.6613.40
CronetMainVersion = 128.0.0.0
2022-11-09 23:23:04 +08:00
android.injected.testOnly = false
2024-07-31 17:42:19 +08:00
android.nonFinalResIds = true
android.injected.androidTest.leaveApksInstalledAfterRun = true