-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Expand file tree
/
Copy pathgradle.properties
More file actions
38 lines (38 loc) · 1.81 KB
/
gradle.properties
File metadata and controls
38 lines (38 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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.
org.gradle.jvmargs=-Xmx16g -XX:MaxMetaspaceSize=2g -Dkotlin.daemon.jvm.options="-Xmx2g" -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# 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
# 是否打包APK,打正式包时请设置为true,使用正式的签名
isNeedPackage=true
isNeedClean=true
# 是否排除Frpc动态库,打正式包时请设置为true
excludeFrpclib=true
# 是否使用leakcanary检测内存泄漏,打正式包时请设置为false
isNeedLeakcanary=false
# 是否使用booster优化APK,这里需要注意gradle的版本,对于最新的gradle版本可能存在兼容问题
isUseBooster=false
android.precompileDependenciesResources=false
android.useAndroidX=true
android.enableJetifier=true
#android.enableD8=true
# 禁止 Android Gradle Plugin 的 Transform API 警告
android.debug.obsoleteApi=false
# 可选:抑制其他不必要的警告
android.suppressUnsupportedCompileSdk=33
# 禁止 R8 显示 stack map table 警告
android.enableR8.fullMode=false
android.enableR8.r8FullMode=false
org.gradle.warning.mode=none
# 禁用 native debug metadata
android.extractNativeDebugMetadata=false
# 关闭 symbol 处理
android.experimental.enableNativeSymbolTables=false