1
1
plugins {
2
- id ' org.jetbrains.kotlin.jvm' version ' 1.5.20 '
3
- id ' org.jetbrains.kotlin.plugin.serialization' version ' 1.5.20 '
2
+ id ' org.jetbrains.kotlin.jvm' version ' 1.7.21 '
3
+ id ' org.jetbrains.kotlin.plugin.serialization' version ' 1.7.21 '
4
4
}
5
5
6
6
group ' intro-coroutines'
@@ -13,42 +13,42 @@ repositories {
13
13
dependencies {
14
14
implementation " org.jetbrains.kotlin:kotlin-stdlib"
15
15
implementation " org.jetbrains.kotlin:kotlin-reflect"
16
- implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.2 " )
16
+ implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1 " )
17
17
18
- def coroutines_version = ' 1.5.1 '
18
+ def coroutines_version = ' 1.6.4 '
19
19
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version "
20
20
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-swing:$coroutines_version "
21
21
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutines_version "
22
22
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-slf4j:$coroutines_version "
23
23
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-debug:$coroutines_version "
24
24
25
- implementation ' ch.qos.logback:logback-classic:1.2.3 '
25
+ implementation ' ch.qos.logback:logback-classic:1.4.5 '
26
26
27
27
def retrofit_version = ' 2.9.0'
28
28
implementation " com.squareup.retrofit2:retrofit:$retrofit_version "
29
29
implementation " com.squareup.retrofit2:retrofit-mock:$retrofit_version "
30
30
implementation " com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0"
31
- implementation ' com.squareup.okhttp3:okhttp:4.9.1 '
31
+ implementation ' com.squareup.okhttp3:okhttp:4.10.0 '
32
32
33
33
implementation ' io.reactivex.rxjava2:rxjava:2.2.21'
34
34
implementation ' io.reactivex.rxjava2:rxkotlin:2.4.0'
35
35
implementation " com.squareup.retrofit2:adapter-rxjava2:$retrofit_version "
36
36
37
- testImplementation " junit:junit:4.12 "
37
+ testImplementation ' junit:junit:4.13.2 '
38
38
testImplementation " org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version "
39
39
}
40
40
41
41
compileKotlin {
42
42
kotlinOptions {
43
43
jvmTarget = " 1.8"
44
- freeCompilerArgs + = " -Xopt -in=kotlin.RequiresOptIn"
44
+ freeCompilerArgs + = " -opt -in=kotlin.RequiresOptIn"
45
45
}
46
46
}
47
47
48
48
compileTestKotlin {
49
49
kotlinOptions {
50
50
jvmTarget = " 1.8"
51
- freeCompilerArgs + = " -Xopt -in=kotlin.RequiresOptIn"
51
+ freeCompilerArgs + = " -opt -in=kotlin.RequiresOptIn"
52
52
}
53
53
}
54
54
0 commit comments