## 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.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
# org.gradle.parallel=true
#Wed Jul 08 17:07:15 CST 2026
BAIDU_MAP_KEY=YT2CmlqAkpMyzmw1AKNIBlYlBtHESEaW
BUGLY_KEY=06fc0a9cd1
GOOGLE_MAP_KEY=AIzaSyCFEqlOoo2274NsX7tzoQjs_DA7B9N7-gY
HTTP_REQUEST_KEY=8989JUIMSKHKehmasdfWEkjhf\!*jfsadf8453
MAPBOX_ACCESS_TOKEN=pk.eyJ1Ijoic2hhbnJlbnRlY2giLCJhIjoiY2t5bzNnNm41MWQyZzJubjd4NzN6MXJnMyJ9.NPjPb__sEUug9PK4L0hlSA
MAPBOX_DOWNLOADS_TOKEN=sk.eyJ1Ijoic2hhbnJlbnRlY2giLCJhIjoiY2t5bndlZnNuMDdjajJvcjBzOTcxcnVvbiJ9.VR_gh0uqZNVyUN92aACCiQ
STRIPE_RELEASE_KEY=pk_live_51N0gBGCUI9XSagUNNDNWc77OdwDWXVSGIdf8WHjvGfe5plUOfs7eq7uyTEQ3ma1xXHlavwInuw9WZOJQ6Z9FVjLq00VsFpc1Rv
STRIPE_TEST_KEY=pk_test_51N0gBGCUI9XSagUNC3i1ZTiavE2pncKF3cBPWCu4p0OWowHNh22P1xeEpowp6TUNEeFNfv4OEHmLyj7sihmNuSQl00x2pvl4xH
CARD_RSA_KEY="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAofuJbnkwyF7SWg3eRadSYT+ttfHN+CUmCzH0WW1EWTUQOG+01Nv8ux+UJUlxbZA2X7959Et/+VKE03+4OY0/26dlgkROMlXCUnzsucuaoHW+9whGi6xklRZrDLi22QBae/8XV1YDEU2vfYXtcvwf66J0t+bRIhGytQUZvUrL7OEaAHvwJU0QwCy3wQGWcCgSkPpDruIe4ar19iZMleE+BdPGIfKfVdPvWFls63g1eMFECb8F9zN6ydGTCvlqvx/4gfDuFQnF+JuTSre8euSpTRTQn/Q0s3K6KiROVcAYCqDW6cKxNUr2ha1C9ZFxMws9C0qhx5wYzfSlIjFthPC1qwIDAQAB"
android.enableJetifier=true
android.nonFinalResIds=false
android.nonTransitiveRClass=false
android.suppressUnsupportedCompileSdk=34
android.useAndroidX=true
kotlin.code.style=official
# 修复 R8 混淆阶段的 Java heap space OOM（AGP 8.x + 多模块 consumer-rules 合并 至少需要 8GB）
# - Gradle Daemon: -Xmx8g（之前 2g 严重不足）
# - Metaspace: 2048m（之前 1g 容易在规则解析/注解处理时触顶 Metaspace OOM）
# - ReservedCodeCacheSize: 1024m（防止 JIT 代码缓存耗尽导致卡顿或 OOM）
# - UseStringDeduplication: 混淆过程字符串极多，配合 G1 去重可节省 10~30% 堆
# - HeapDumpOnOutOfMemoryError: 出 OOM 时自动生成 hprof 方便后续定位
# - Kotlin Daemon: -Xmx4g（之前 2g 不足以编译 2.x Kotlin + ViewBinding/DataBinding 代码量）
org.gradle.jvmargs=-Xmx8192M -XX\:MaxMetaspaceSize\=2048M -XX\:ReservedCodeCacheSize\=1024M -XX\:+UseG1GC -XX\:+UseStringDeduplication -XX\:+HeapDumpOnOutOfMemoryError -XX\:HeapDumpPath\=build/oom-gradle.hprof -Dkotlin.daemon.jvm.options\="-Xmx4096M,-XX\:MaxMetaspaceSize\=1024M,-XX\:ReservedCodeCacheSize\=512M,-XX\:+UseG1GC,-XX\:+UseStringDeduplication" -Dfile.encoding\=UTF-8
