@@ -4,17 +4,20 @@ apply plugin: 'kotlin-android'
4
4
5
5
apply plugin : ' kotlin-android-extensions'
6
6
7
- ext. dagger_version = " 2.11"
8
- ext. arch_version = " 1.0.0-beta2"
7
+ ext. dagger_version = " 2.15"
8
+ ext. support_version = " 27.1.0"
9
+ ext. arch_version = " 1.1.1"
10
+ ext. room_version = " 1.0.0"
11
+ ext. retrofit_version = " 2.3.0"
9
12
10
13
android {
11
- compileSdkVersion 26
12
- buildToolsVersion ' 26 .0.2 '
14
+ compileSdkVersion 27
15
+ buildToolsVersion ' 27 .0.3 '
13
16
defaultConfig {
14
17
// TODO: Update applicationId
15
18
applicationId " com.snappymob.kotlincomponents.dagger"
16
19
minSdkVersion 16
17
- targetSdkVersion 26
20
+ targetSdkVersion 27
18
21
versionCode 1
19
22
versionName " 1.0"
20
23
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
@@ -30,8 +33,8 @@ android {
30
33
31
34
dependencies {
32
35
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
33
- implementation ' com.android.support:appcompat-v7:26.1.0 '
34
- implementation ' com.android.support:recyclerview-v7:26.1.0 '
36
+ implementation " com.android.support:appcompat-v7:$s upport_version "
37
+ implementation " com.android.support:recyclerview-v7:$s upport_version "
35
38
implementation ' com.android.support.constraint:constraint-layout:1.0.2'
36
39
testImplementation ' junit:junit:4.12'
37
40
androidTestImplementation(' com.android.support.test.espresso:espresso-core:3.0.1' , {
@@ -40,12 +43,12 @@ dependencies {
40
43
implementation" org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version "
41
44
42
45
// Retrofit
43
- implementation ' com.squareup.retrofit2:retrofit:2.3.0 '
44
- implementation ' com.squareup.retrofit2:converter-gson:2.3.0 '
46
+ implementation " com.squareup.retrofit2:retrofit:$r etrofit_version "
47
+ implementation " com.squareup.retrofit2:converter-gson:$r etrofit_version "
45
48
46
49
// Room
47
- implementation " android.arch.persistence.room:runtime:$a rch_version "
48
- kapt " android.arch.persistence.room:compiler:$a rch_version "
50
+ implementation " android.arch.persistence.room:runtime:$r oom_version "
51
+ kapt " android.arch.persistence.room:compiler:$r oom_version "
49
52
50
53
// Lifecycle
51
54
implementation " android.arch.lifecycle:runtime:$arch_version "
0 commit comments