-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgradle.properties
79 lines (79 loc) · 2.99 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# 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=-Xmx5120m -XX:MaxPermSize=2048m -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
# The Gradle daemon aims to improve the startup and execution reading of Gradle.
# When set to true the Gradle daemon is to run the build.
# disable daemon on CI, since builds should be clean and reliable on servers
org.gradle.daemon=true
# Enables new incubating mode that makes Gradle selective when configuring projects.
# Only relevant projects are configured which results in faster builds for large multi-projects.
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:configuration_on_demand
org.gradle.configureondemand=true
# Set to true or false to enable or disable the build cache.
# If this parameter is not set, the build cache is disabled by default.
# http://tools.android.com/tech-docs/build-cache
android.enableBuildCache=true
android.builder.sdkDownload=true
Android.useDeprecatedNdk=true
#Android Studio3.0打包编译的时候, 安装会导致无法找到资源
android.AAPT2=true
#D8编译
android.enableD8=true
#这有助于减少使用Java 8语言功能的项目的编译时间
android.enableD8.desugaring=true
#表示当前项目启用 androidx
android.useAndroidX=true
#true表示将依赖包也迁移到androidx,
#false表示不迁移依赖包到androidx,
#但在使用依赖包中的内容时可能会出现问题,
#如果你的项目中没有使用任何三方依赖,那么,此项可以设置为false
android.enableJetifier=true
#单元测试配置,启用二进制资源
android.enableUnitTestBinaryResources=true
#最低支持版本
MIN_SDK_VERSION=19
#Android版本
TARGET_SDK_VERSION=29
COMPILE_SDK_VERSION=29
#Build版本
BUILD_GRADLE=3.5.0
GRADLE_VERSION=5.5
#RxFluxArchitecture
RX_FLUX_ARCHITECTURE=1.1.8
#Maven
ANDROID_MAVEN_GRADLE_PLUGIN=2.1
#Kotlin
KOTLIN_VERSION=1.3.41
#官方兼容依赖库版本
X_APPCOMPAT=1.1.0-rc01
X_FRAGMENT=1.2.0-alpha02
X_MATERIAL=1.1.0-alpha09
X_CONSTRAINT=2.0.0-beta2
#单元测试框架
TEST_X_CORE=1.2.1-alpha02
TEST_X_JUNIT=1.1.2-alpha02
TEST_X_RULES=1.3.0-alpha02
TEST_X_RUNNER=1.3.0-alpha02
TEST_X_ESPRESSO=3.3.0-alpha02
TEST_JUNIT=4.12
TEST_MOCKITO=3.0.0
TEST_MOCKITO_KOTLIN=2.1.0
TEST_REST_MOCK=0.4.0
TEST_ROBOLECTRIC=4.3
TEST_POWER_MOCK=2.0.2
TEST_DEAAGE_MOCK=0.8.5
#RxJava2
RX_JAVA_2=2.2.11
RX_ANDROID_2=2.1.1
#Androidx适配 Jetifier
JETIFIER=1.0.0-beta06