11plugins {
2- id ' org.jetbrains.kotlin.jvm' version ' 1.3.60 '
2+ id ' org.jetbrains.kotlin.jvm' version ' 1.4.20 '
33}
44
55group ' intro-coroutines'
@@ -12,26 +12,25 @@ repositories {
1212dependencies {
1313 implementation " org.jetbrains.kotlin:kotlin-stdlib"
1414 implementation " org.jetbrains.kotlin:kotlin-reflect"
15-
16- def coroutines_version = ' 1.3.3 '
15+
16+ def coroutines_version = ' 1.4.2 '
1717 implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version "
1818 implementation " org.jetbrains.kotlinx:kotlinx-coroutines-swing:$coroutines_version "
1919 implementation " org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutines_version "
2020 implementation " org.jetbrains.kotlinx:kotlinx-coroutines-slf4j:$coroutines_version "
2121 implementation " org.jetbrains.kotlinx:kotlinx-coroutines-debug:$coroutines_version "
2222
23- implementation " com.squareup.retrofit2:retrofit:2.4.0"
24- implementation " com.squareup.retrofit2:converter-jackson:2.4.0"
2523 implementation " com.fasterxml.jackson.module:jackson-module-kotlin:2.9.7"
2624 implementation ' ch.qos.logback:logback-classic:1.0.13'
2725
28- def retrofit_version = ' 2.6.3 '
26+ def retrofit_version = ' 2.9.0 '
2927 implementation " com.squareup.retrofit2:retrofit:$retrofit_version "
28+ implementation " com.squareup.retrofit2:converter-jackson:$retrofit_version "
3029 implementation " com.squareup.retrofit2:converter-gson:$retrofit_version "
3130 implementation " com.squareup.retrofit2:retrofit-mock:$retrofit_version "
3231
33- implementation ' io.reactivex.rxjava2:rxjava:2.2.8 '
34- implementation ' io.reactivex.rxjava2:rxkotlin:2.3 .0'
32+ implementation ' io.reactivex.rxjava2:rxjava:2.2.20 '
33+ implementation ' io.reactivex.rxjava2:rxkotlin:2.4 .0'
3534 implementation " com.squareup.retrofit2:adapter-rxjava2:$retrofit_version "
3635
3736 testImplementation " junit:junit:4.12"
@@ -48,7 +47,7 @@ compileTestKotlin {
4847
4948compileTestKotlin {
5049 kotlinOptions {
51- freeCompilerArgs + = " -Xuse-experimental =kotlin.Experimental "
50+ freeCompilerArgs + = " -Xopt-in =kotlin.RequiresOptIn "
5251 }
5352}
5453
0 commit comments