@@ -5,7 +5,7 @@ apply plugin: 'kotlin-android-extensions'
5
5
6
6
android {
7
7
compileSdkVersion 27
8
- buildToolsVersion " 27.0.2 "
8
+ buildToolsVersion " 27.0.3 "
9
9
defaultConfig {
10
10
applicationId " erikjhordanrey.android_kotlin_devises"
11
11
minSdkVersion 15
@@ -23,43 +23,39 @@ android {
23
23
}
24
24
}
25
25
26
- /**
27
- * if you will mix Java and Kotlin files in the same project is a good practice create a kotlin directory
28
- * but I prefer created the kotlin package although I will not mix them
29
- **/
30
26
sourceSets {
31
27
main. java. srcDirs + = ' src/main/kotlin'
32
28
}
33
29
}
34
30
35
31
dependencies {
36
32
37
- compile " org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version "
33
+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version "
38
34
39
35
String archVersion = ' 1.0.0'
40
- compile " android.arch.lifecycle:runtime:$a rchVersion "
41
- compile " android.arch.lifecycle:extensions:$a rchVersion "
36
+ implementation " android.arch.lifecycle:runtime:1.1.1 "
37
+ implementation " android.arch.lifecycle:extensions:1.1.1 "
42
38
kapt " android.arch.lifecycle:compiler:$archVersion "
43
- compile " android.arch.persistence.room:runtime:$archVersion "
39
+ implementation " android.arch.persistence.room:runtime:$archVersion "
44
40
kapt " android.arch.persistence.room:compiler:$archVersion "
45
- compile " android.arch.persistence.room:rxjava2:$archVersion "
41
+ implementation " android.arch.persistence.room:rxjava2:$archVersion "
46
42
47
- compile ' com.squareup.retrofit2:retrofit:2.3.0'
48
- compile " com.squareup.retrofit2:converter-gson:2.3.0"
49
- compile ' com.squareup.okhttp3:okhttp:3.9.0 '
50
- compile ' com.squareup.retrofit2:adapter-rxjava2:2.3.0'
51
- compile ' com.squareup.okhttp3:logging-interceptor:3.8.1 '
43
+ implementation ' com.squareup.retrofit2:retrofit:2.3.0'
44
+ implementation " com.squareup.retrofit2:converter-gson:2.3.0"
45
+ implementation ' com.squareup.okhttp3:okhttp:3.9.1 '
46
+ implementation ' com.squareup.retrofit2:adapter-rxjava2:2.3.0'
47
+ implementation ' com.squareup.okhttp3:logging-interceptor:3.9.0 '
52
48
53
- String supportVersion = ' 27.0.2 '
54
- compile " com.android.support:appcompat-v7:$supportVersion "
55
- compile " com.android.support:design:$supportVersion "
56
- compile " com.android.support:support-vector-drawable:$supportVersion "
57
- compile ' com.android.support.constraint:constraint-layout:1.0.2 '
49
+ String supportVersion = ' 27.1.1 '
50
+ implementation " com.android.support:appcompat-v7:$supportVersion "
51
+ implementation " com.android.support:design:$supportVersion "
52
+ implementation " com.android.support:support-vector-drawable:$supportVersion "
53
+ implementation ' com.android.support.constraint:constraint-layout:1.1.0 '
58
54
59
55
String daggerVersion = ' 2.13'
60
- compile " com.google.dagger:dagger:$daggerVersion "
56
+ implementation " com.google.dagger:dagger:$daggerVersion "
61
57
kapt " com.google.dagger:dagger-compiler:$daggerVersion "
62
58
63
- compile ' io.reactivex.rxjava2:rxandroid:2.0.1 '
64
- compile ' io.reactivex.rxjava2:rxjava:2.1.5 '
59
+ implementation ' io.reactivex.rxjava2:rxandroid:2.0.2 '
60
+ implementation ' io.reactivex.rxjava2:rxjava:2.1.10 '
65
61
}
0 commit comments