2025-11-18 05:30:49 +00: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.
|
|
|
|
|
# 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
|
|
|
|
|
# Kotlin code style for this project: "official" or "obsolete":
|
|
|
|
|
kotlin.code.style=official
|
|
|
|
|
# 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
|
|
|
|
|
# ==================================================================================================
|
|
|
|
|
# is router reflect
|
|
|
|
|
isRouterReflect=false
|
|
|
|
|
|
|
|
|
|
# KSP
|
|
|
|
|
# https://kotlinlang.org/docs/ksp-incremental.html#program-elements
|
|
|
|
|
ksp.incremental=false
|
|
|
|
|
|
|
|
|
|
# enable gradle parallel and caching
|
|
|
|
|
org.gradle.parallel=true
|
2026-01-15 02:42:08 +00:00
|
|
|
org.gradle.caching=true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#xxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
|
android.defaults.buildfeatures.resvalues=false
|
|
|
|
|
android.defaults.buildfeatures.shaders=false
|
|
|
|
|
android.enableHiddenApiCheck=false
|
|
|
|
|
android.hideApiWarning=false
|
|
|
|
|
# Improve build performance by enabling R8 parallelism.
|
|
|
|
|
android.r8.maxWorkers=1
|
|
|
|
|
android.r8.dex.size.limit=100000000
|
|
|
|
|
kotlin.incremental=true
|
|
|
|
|
kotlin.compiler.execution.strategy=daemon
|
|
|
|
|
kotlin.parallel.tasks.in.project=true
|
|
|
|
|
org.gradle.jvmargs=-Xmx6g -Xms1g -Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError -XX:G1ReservePercent=20
|
|
|
|
|
org.gradle.workers.max=4
|
|
|
|
|
org.gradle.configuration-cache=true
|
|
|
|
|
org.gradle.configuration-cache.parallel=true
|
|
|
|
|
org.gradle.daemon=true
|
|
|
|
|
android.enableJetifier=true
|
|
|
|
|
android.enableR8.fullMode=false
|
|
|
|
|
android.enableNewResourceShrinker.preciseShrinking=true
|