-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
87 lines (79 loc) · 2.36 KB
/
build.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
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext{
kotlin_version = '1.4.20'
gradle_version = '4.1.0'
}
repositories {
maven { url "https://maven.aliyun.com/repository/public" }
maven { url "https://maven.aliyun.com/repository/google"}
maven { url "https://jitpack.io" }
// google()
// jcenter()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:${gradle_version}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven { url "https://maven.aliyun.com/repository/public" }
maven { url "https://maven.aliyun.com/repository/google"}
maven { url "https://jitpack.io" }
// google()
// jcenter()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
appRawVersion = 5
appSemVersion = 'v0.4.1'
javaVersion = JavaVersion.VERSION_1_8
kotlinVersion = '1.4.20'
coroutinesVersion = '1.4.2-native-mt'
// sdk
compileSdkVersion = 29
minSdkVersion = 21
targetSdkVersion = 29
buildToolsVersion = '29.0.2'
// androidx
preferenceVersion = '1.1.1'
legacyVersion = '1.0.0'
cardviewVersion = '1.0.0'
roomVersion = '2.2.5'
lifecycleVersion = '2.2.0'
vectordrawableVersion = '1.1.0'
recyclerviewVersion = '1.1.0'
appcompatVersion = '1.2.0'
constraintlayoutVersion = '2.0.4'
materialVersion = '1.2.1'
workVersion = '2.4.0'
navVersion = '2.1.0'
// custom
csvVersion = '1.8'
rxandroidVersion = '2.1.1'
gsonVersion = '2.8.6'
okhttpVersion = '4.8.1'
retrofitVersion = '2.9.0'
glideVersion = '4.11.0'
jodaTimeVersion = '2.10.6'
MPAndroidChartVersion = 'v3.1.0'
segmentedButtonVersion = 'v2.0.2'
brvahVersion = '3.0.6'
pinnedSectionItemDecorationVersion = '1.3.2-androidx'
// test
junitVersion = '4.13.1'
espressoVersion = '3.3.0'
androidJunitVersion = '1.1.2'
// analysis
leakCanaryVersion = '2.5'
}
dependencies {
}