-
Notifications
You must be signed in to change notification settings - Fork 15
/
config.gradle
54 lines (50 loc) · 3.22 KB
/
config.gradle
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
ext {
plugins = [
application: 'com.android.application',
library : 'com.android.library',
maven : 'com.github.dcendents.android-maven',
bintray : 'com.jfrog.bintray'
]
android = [
applicationId : "mo_dev",
compileSdkVersion : 28,
buildToolsVersion : "28.0.3",
minSdkVersion : 19,
targetSdkVersion : 29,
versionCode : 2,
versionName : "1.0.0",
compat_version : "28.0.0",
compatx_version : "1.1.0",
compat_lifecycle_version: "2.2.0",
compat_arch_common_version: "2.1.0"
]
//https://developer.android.google.cn/jetpack/androidx/versions?hl=en-US
dependencies = [
//fragment : "com.android.support:support-fragment:$rootProject.ext.android.compat_version",
//cardview : "com.android.support:cardview-v7:$rootProject.ext.android.compat_version",
appCompat : "androidx.appcompat:appcompat:$android.compatx_version",
recyclerview : "androidx.recyclerview:recyclerview:$android.compatx_version",
annotation : "androidx.annotation:annotation:$android.compatx_version",
fragment : "androidx.fragment:fragment:$android.compatx_version",
exifinterface : "androidx.exifinterface:exifinterface:$android.compatx_version",
loader : "androidx.loader:loader:$android.compatx_version",
core : "androidx.core:core:$android.compatx_version",
versionedparcelable : "androidx.versionedparcelable:versionedparcelable:$android.compatx_version",
vectordrawable : "androidx.vectordrawable:vectordrawable:$android.compatx_version",
vectordrawable_animated: "androidx.vectordrawable:vectordrawable-animated:$android.compatx_version",
collection : "androidx.collection:collection:$android.compatx_version",
core_ktx : "androidx.core:core-ktx:$android.compatx_version",
lifecycle_runtime : "androidx.lifecycle:lifecycle-runtime:$android.compat_lifecycle_version",
lifecycle_common : "androidx.lifecycle:lifecycle-common:$android.compat_lifecycle_version",
lifecycle_viewmodel : "androidx.lifecycle:lifecycle-viewmodel:$android.compat_lifecycle_version",
core_common : "androidx.arch.core:core-common:$android.compat_arch_common_version",
multidex : "androidx.multidex:multidex:2.0.1",
cardview : "androidx.cardview:cardview:1.0.0",
legacy : "androidx.legacy:legacy-support-v4:1.0.0",
// constraintlayout: 'androidx.constraintlayout:constraintlayout:1.1.3',
constraintlayout : "androidx.constraintlayout:constraintlayout:2.0.0",
design : "com.google.android.material:material:1.0.0",
//https://github.com/google/flexbox-layout
flexbox : "com.google.android:flexbox:2.0.1"
]
}