dreampad/android/gradle.properties
2023-11-28 11:03:36 +08:00

21 lines
670 B
Properties

android.useAndroidX=true
android.enableJetifier=true
android.jetifier.blacklist=bcprov-jdk15on,bcprov-jdk18on
# 提升编译速度配置 https://blog.csdn.net/weixin_33943347/article/details/91361727
org.gradle.daemon=true
org.gradle.configureondemand=true
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx1536M -XX:+UseParallelGC -XX:MaxPermSize=1024m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# 开启gradle缓存
org.gradle.caching=true
android.enableBuildCache=true
#开启 kotlin 的增量和并行编译
kotlin.incremental=true
kotlin.incremental.java=true
kotlin.incremental.js=true
kotlin.caching.enabled=true
kotlin.parallel.tasks.in.project=true