-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.gradle
86 lines (65 loc) · 3.04 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.KOTLIN_VERSION = '1.2.60'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.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()
maven { url 'https://dl.bintray.com/kodein-framework/Kodein-DI/' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
MIN_SDK_VERSION = 19
TARGET_SDK_VERSION = 28
COMPILE_SDK_VERSION = 28
BUILD_TOOLS_VERSION = '27.0.3'
SUPPORT_LIB_VERSION = '27.1.0'
RETROFIT_VERSION = '2.4.0'
OKHTTP_VERSION = '3.10.0'
RX_VERSION = '2.1.10'
RX_ANDROID_VERSION = '2.0.2'
ARCH_VERSION = '1.1.0'
KODEIN_VERSION = '5.2.0'
}
ext.deps = [archExtenstion : "android.arch.lifecycle:extensions:$ARCH_VERSION",
archViewmmodel : "android.arch.lifecycle:viewmodel:$ARCH_VERSION",
archLivdata : "android.arch.lifecycle:livedata:$ARCH_VERSION",
archCompiler : "android.arch.lifecycle:compiler:$ARCH_VERSION",
reactiveStreams : "android.arch.lifecycle:reactivestreams:$ARCH_VERSION",
rxjava2 : "io.reactivex.rxjava2:rxjava:$RX_VERSION",
rxandroid2 : "io.reactivex.rxjava2:rxandroid:$RX_ANDROID_VERSION",
kotlinsdk : "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION",
supportannotations: "com.android.support:support-annotations:${SUPPORT_LIB_VERSION}",
appcompatv7 : "com.android.support:appcompat-v7:${SUPPORT_LIB_VERSION}",
supportv13 : "com.android.support:support-v13:${SUPPORT_LIB_VERSION}",
design : "com.android.support:design:${SUPPORT_LIB_VERSION}",
retrofit : "com.squareup.retrofit2:retrofit:${RETROFIT_VERSION}",
retrofitgson : "com.squareup.retrofit2:converter-gson:${RETROFIT_VERSION}",
retrofitrx : "com.squareup.retrofit2:adapter-rxjava2:${RETROFIT_VERSION}",
okhttp : "com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}",
okhttplogger : "com.squareup.okhttp3:logging-interceptor:${OKHTTP_VERSION}",
rxbinding : 'com.jakewharton.rxbinding2:rxbinding:2.0.0',
rxpermissions : 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.4@aar',
timber : 'com.jakewharton.timber:timber:4.5.1',
glide : "com.github.bumptech.glide:glide:3.8.0",
crashlytics : 'com.crashlytics.sdk.android:crashlytics:2.6.8@aar',
junit : 'junit:junit:4.12',
truth : 'com.google.truth:truth:0.32',
espressocore : 'com.android.support.test.espresso:espresso-core:2.2.2',
mockitocore : 'org.mockito:mockito-core:2.7.17',
kodein : "org.kodein.di:kodein-di-generic-jvm:${KODEIN_VERSION}",
kodeinAndroidSupport: "org.kodein.di:kodein-di-framework-android-support:${KODEIN_VERSION}"]