Repository navigation
Expand file tree
/
Copy pathconfig.gradle
More file actions
132 lines (102 loc) · 5.43 KB
/
Copy pathconfig.gradle
File metadata and controls
132 lines (102 loc) · 5.43 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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
ext {
//生產/開發環境(正式/測試)
isRelease = true
componnet_router_doc_folder = "/Users/tongson/AndroidStudioProjects/Guihub/Frame/Doc"
//建立Map存儲,對象名、key都可以自定義,groovy糖果語法,非常靈活
androidId = [
compileSdkVersion : 28,
buildToolsVersion : 28,
minSdkVersion : 19,
targetSdkVersion : 28,
versionCode : 1,
versionName : "1.0",
testInstrumentationRunner: "androidx.test.runner.AndroidJUnitRunner"
]
appId = [
appId : "pr.tongson.app",
welcomeId : "pr.tongson.module_welcome",
usersystemId: "pr.tongson.module_usersystem",
mainId : "pr.tongson.module_main",
webviewId : "pr.tongson.module_webview",
plalyerId : "pr.tongson.module_plalyer",
imId : "pr.tongson.module_im"
]
url = [
"debug" : "",
"release": ""
]
supportLibrary = "28.0.0"
versions = [
component_version: "1.8.0",
androidx : "1.1.0",
kotlin_version : "1.3.71",
lifecycle : "2.2.0"
]
supportDependencies = [
"material" : "com.google.android.material:material:${versions.androidx}",
"xappcompat" : "androidx.appcompat:appcompat:${versions.androidx}",
"xrecyclerview" : "androidx.recyclerview:recyclerview:${versions.androidx}",
"xannotation" : "androidx.annotation:annotation:${versions.androidx}",
"xsupportv4" : "androidx.legacy:legacy-support-v4:1.0.0",
"xconstraintlayout": "androidx.constraintlayout:constraintlayout:1.1.3",
"xlifecycle" : "androidx.lifecycle:lifecycle-extensions:${versions.lifecycle}",
]
supportDependenciesKotlin = [
"stdlib" : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin_version}",
"ktx" : "androidx.core:core-ktx:1.2.0",
"xViewmodelKt" : "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.lifecycle}",
"coroutines" : "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.5",
"anko" : "org.jetbrains.anko:anko:0.10.8",
"material" : "com.google.android.material:material:${versions.androidx}",
"xappcompat" : "androidx.appcompat:appcompat:${versions.androidx}",
"xrecyclerview" : "androidx.recyclerview:recyclerview:${versions.androidx}",
"xannotation" : "androidx.annotation:annotation:${versions.androidx}",
"xsupportv4" : "androidx.legacy:legacy-support-v4:1.0.0",
"xconstraintlayout": "androidx.constraintlayout:constraintlayout:1.1.3",
"xlifecycle" : "androidx.lifecycle:lifecycle-extensions:${versions.lifecycle}"
]
testDependencies = [
"junit" : "junit:junit:4.13",
"xjunitext": "androidx.test.ext:junit:1.1.1",
"espresso" : "androidx.test.espresso:espresso-core:3.2.0"
]
componentDependencies = [
component_annotation: "com.github.xiaojinzi123.Component:component-annotation:${versions.component_version}-androidx",
component_compiler : "com.github.xiaojinzi123.Component:component-compiler:${versions.component_version}-androidx",
component_impl : "com.github.xiaojinzi123.Component:component-impl:${versions.component_version}-androidx",
component_impl_rx : "com.github.xiaojinzi123.Component:component-impl-rx:${versions.component_version}-androidx"
]
color = [
colorPrimary : "应用的主要色调,actionBar默认使用该颜色,Toolbar导航栏的底色",
colorPrimaryDark : "应用的主要暗色调,statusBarColor默认使用该颜色",
statusBarColor : "状态栏颜色,默认使用colorPrimaryDark",
windowBackground : "窗口背景颜色",
navigationBarColor : "底部栏颜色",
colorForeground : "应用的前景色,ListView的分割线,switch滑动区默认使用该颜色",
colorBackground : "应用的背景色,popMenu的背景默认使用该颜色",
colorAccent : "CheckBox,RadioButton,SwitchCompat等一般控件的选中效果默认采用该颜色",
colorControlNormal : "CheckBox,RadioButton,SwitchCompat等默认状态的颜色",
colorControlHighlight : "控件按压时的色调",
colorControlActivated : "控件选中时的颜色,默认使用colorAccent",
colorButtonNormal : "默认按钮的背景颜色",
editTextColor : "默认EditView输入框字体的颜色",
textColor : "Button,textView的文字颜色",
textColorPrimary : "DisableOnly,RadioButton,checkbox等控件的文字",
textColorPrimary : "应用的主要文字颜色, actionBar的标题文字默认使用该颜色",
colorSwitchThumbNormal: "switch thumbs 默认状态的颜色.(switch off)"
]
libDependencies = [
]
componentsDependencies = [
]
baseDependencies = [
]
moduleDependencies = [
]
templetDependencies = [
]
pluginDependencies = [
]
appDependencies = [
]
}