Files
Flutter_Shell/android/gradle.properties
2026-05-18 13:36:54 +07:00

23 lines
1.1 KiB
Properties
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

org.gradle.jvmargs=-Xmx6144M -XX:MaxMetaspaceSize=1536m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.parallel=true
# 若服务器出现 "Unable to delete directory" 或 Kotlin 缓存冲突,可临时改为 false 再打包
org.gradle.parallel=true
# 服务器打包时拉取依赖易超时,适当增大 HTTP 超时(如 JitPack/Maven
systemProp.org.gradle.internal.http.connectionTimeout=120000
systemProp.org.gradle.internal.http.socketTimeout=120000
# 关闭 Kotlin 增量编译,避免 CI 多任务并行时 "Could not close incremental caches" / "Storage is already registered"
kotlin.incremental=false
org.gradle.configuration-cache=false
org.gradle.daemon=true
# 禁用文件系统监听器,避免 "Already watching path" 错误
org.gradle.vfs.watch=false
# 增加 daemon 空闲超时时间,避免频繁重启
org.gradle.daemon.idletimeout=10800000
# 禁用构建扫描CI 环境不需要)
org.gradle.unsafe.configuration-cache.max-problems=0
# 优化构建性能
org.gradle.caching=true
android.useAndroidX=true
android.enableJetifier=true