-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
80 lines (73 loc) · 2.72 KB
/
Copy pathbuild.gradle
File metadata and controls
80 lines (73 loc) · 2.72 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.3"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
android = [
compileSdkVersion : 30,
defaultConfig : [
minSdkVersion : 19,
targetSdkVersion: 30
],
sourceCompatibility: JavaVersion.VERSION_1_8
]
dependencies = [
junit : 'junit:junit:4.+',
material : [
material: 'com.google.android.material:material:1.4.0'
],
androidx : [
test : [
junit : 'androidx.test.ext:junit:1.1.3',
'espresso-core': 'androidx.test.espresso:espresso-core:3.3.0'
],
lifecycle : [
livedata : 'androidx.lifecycle:lifecycle-livedata:2.3.1',
viewmodel: 'androidx.lifecycle:lifecycle-viewmodel:2.3.1'
],
appcompat : 'androidx.appcompat:appcompat:1.3.1',
constraintlayout: 'androidx.constraintlayout:constraintlayout:2.1.3'
],
retrofit2: [
retrofit : 'com.squareup.retrofit2:retrofit:2.9.0',
'converter-gson' : 'com.squareup.retrofit2:converter-gson:2.9.0',
'adapter-rxjava2': 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
],
rxjava2 : [
rxjava : 'io.reactivex.rxjava2:rxjava:2.2.21',
rxandroid: 'io.reactivex.rxjava2:rxandroid:2.1.1'
],
okhttp3 : [
'logging-interceptor': 'com.squareup.okhttp3:logging-interceptor:3.12.13'
],
okio : [okio: 'com.squareup.okio:okio:2.10.0'],
lombok : [
lombok : 'org.projectlombok:lombok:1.18.24',
lombokAnnotationProcessor: 'org.projectlombok:lombok:1.18.24'
],
db : [
paperdb: 'io.paperdb:paperdb:2.7.1',
mmkv : 'com.tencent:mmkv-static:1.2.13'
]
]
}