-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
78 lines (66 loc) · 2.98 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.61'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
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 {
google()
jcenter()
}
ext {
androidLibs = [
appcompat : 'androidx.appcompat:appcompat:1.1.0',
androidxCore : 'androidx.core:core-ktx:1.1.0',
lifecycleExtension : 'android.arch.lifecycle:extensions:1.1.1',
constraintLayout : 'androidx.constraintlayout:constraintlayout:1.1.3',
recyclerview : 'androidx.recyclerview:recyclerview:1.1.0',
legacySupport : 'androidx.legacy:legacy-support-v4:1.0.0',
material : 'com.google.android.material:material:1.0.0',
playServicesLocation: 'com.google.android.gms:play-services-location:17.0.0',
glide : 'com.github.bumptech.glide:glide:4.9.0',
dexter : 'com.karumi:dexter:5.0.0',
daggerCompiler : 'com.google.dagger:dagger:2.23.1',
room : 'androidx.room:room-runtime:2.2.2'
]
androidKaptLibs = [
glideCompiler : 'com.github.bumptech.glide:compiler:4.9.0',
roomCompiler : 'androidx.room:room-compiler:2.2.2',
daggerCompiler: 'com.google.dagger:dagger-compiler:2.23.1'
]
kotlinLibs = [
stdlib : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
coroutines: 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.0'
]
libs = [
okhttpLoginInterceptor : 'com.squareup.okhttp3:logging-interceptor:3.14.1',
retrofit : 'com.squareup.retrofit2:retrofit:2.5.0',
retrofitGsonConverter : 'com.squareup.retrofit2:converter-gson:2.5.0',
retrofiCoroutinesAdapter: 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
]
testLibs = [
junit : 'junit:junit:4.12',
mockitoKotlin: "com.nhaarman.mockitokotlin2:mockito-kotlin:2.1.0",
mockitoInline: "org.mockito:mockito-inline:2.28.2"
]
androidxTestLibs = [
archCoreTesting: 'android.arch.core:core-testing:1.1.1'
]
androidTestLibs = [
espresso : 'androidx.test.espresso:espresso-core:3.2.0',
androidxJunit: 'androidx.test.ext:junit:1.1.1'
]
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}