-
-
Notifications
You must be signed in to change notification settings - Fork 352
/
gradle.properties
47 lines (45 loc) · 2.09 KB
/
gradle.properties
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
39
40
41
42
43
44
45
46
47
# 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.
# Default value: -Xmx10248m -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. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#
org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile\
.encoding=UTF-8 -XX:+UseParallelGC
#
#org.gradle.jvmargs=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5010
#-Dorg.gradle.debug=true
org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.caching=true
android.enableBuildScriptClasspathCheck=false
# imitate 作为组件,还是单独的 app 工程运行,每次更改“imitate_isApp”的值后,需要点击 "Sync Project" 和 Build clean 按钮
imitate_isApp=true
# apk 输出的目标路径,最好把这个目录添加到 ignore 中
apkDir=test
# http://robolectric.org/getting-started/ Robolectric Android 单元测试
#android.enableUnitTestBinaryResources=true
VERSION_NAME=2.4.1
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
android.useAndroidX=true
android.enableJetifier=true
# ./gradlew task_name -Dorg.gradle.daemon=false -Dorg.gradle.debug=true 可以开启调试
IMITATE_DEBUG_STORE_FILE=../imitation.jks
IMITATE_DEBUG_KEY_ALIAS=imitate
IMITATE_DEBUG_STORE_PASSWORD=123456
IMITATE_DEBUG_KEY_PASSWORD=123456
android.defaults.buildfeatures.buildconfig=true
buildFeatures.buildConfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false