@@ -4,12 +4,12 @@ import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackOutput.Target
4
4
plugins {
5
5
`maven- publish`
6
6
signing
7
- id(" io.codearte.nexus-staging" ) version " 0.21.2 "
8
- kotlin(" multiplatform" ) version " 1.4.0 "
9
- kotlin(" plugin.serialization" ) version " 1.4.0 "
7
+ id(" io.codearte.nexus-staging" ) version " 0.22.0 "
8
+ kotlin(" multiplatform" ) version " 1.4.21 "
9
+ kotlin(" plugin.serialization" ) version " 1.4.10 "
10
10
id(" com.diffplug.gradle.spotless" ) version " 4.4.0"
11
11
id(" com.moowork.node" ) version " 1.3.1"
12
- id(" org.jetbrains.dokka" ) version " 0.10.1 "
12
+ id(" org.jetbrains.dokka" ) version " 1.4.20 "
13
13
id(" com.android.library" )
14
14
id(" kotlin-android-extensions" )
15
15
}
@@ -26,7 +26,7 @@ buildscript {
26
26
}
27
27
dependencies {
28
28
classpath(" com.android.tools.build:gradle:3.5.4" )
29
- classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10 " )
29
+ classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21 " )
30
30
}
31
31
}
32
32
@@ -132,16 +132,16 @@ kotlin {
132
132
133
133
targets {
134
134
sourceSets {
135
- val coroutineVersion = " 1.3.9 "
136
- val serializationVersion = " 1.0.0 "
137
- val spekVersion = " 2.0.11 "
138
- val ktorVersion = " 1.4.0 "
135
+ val coroutineVersion = " 1.4.2 "
136
+ val serializationVersion = " 1.0.1 "
137
+ val spekVersion = " 2.0.15 "
138
+ val ktorVersion = " 1.4.1 "
139
139
140
140
val commonMain by getting {
141
141
dependencies {
142
- api (" org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion " )
143
- api (" org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion " )
144
- api (" io.ktor:ktor-client-core:$ktorVersion " )
142
+ implementation (" org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion " )
143
+ implementation (" org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion " )
144
+ implementation (" io.ktor:ktor-client-core:$ktorVersion " )
145
145
}
146
146
}
147
147
val commonTest by getting {
@@ -159,7 +159,7 @@ kotlin {
159
159
}
160
160
161
161
dependencies {
162
- api (" io.ktor:ktor-client-cio:$ktorVersion " )
162
+ implementation (" io.ktor:ktor-client-cio:$ktorVersion " )
163
163
}
164
164
}
165
165
@@ -168,7 +168,7 @@ kotlin {
168
168
implementation(kotlin(" test" ))
169
169
implementation(kotlin(" test-junit" ))
170
170
implementation(" org.junit.jupiter:junit-jupiter:5.6.2" )
171
- implementation(" com.sparkjava:spark-core:2.9.1 " )
171
+ implementation(" com.sparkjava:spark-core:2.9.3 " )
172
172
implementation(" org.spekframework.spek2:spek-dsl-jvm:$spekVersion " )
173
173
runtimeOnly(" org.spekframework.spek2:spek-runner-junit5:$spekVersion " )
174
174
runtimeOnly(kotlin(" reflect" ))
@@ -177,10 +177,10 @@ kotlin {
177
177
178
178
val jsMain by getting {
179
179
dependencies {
180
- api (npm(" text-encoding" , " 0.7.0" ))
181
- api (" io.ktor:ktor-client-js:$ktorVersion " )
182
- api (npm(" abort-controller" , " 3.0.0" ))
183
- api (npm(" node-fetch" , " 2.6.0" ))
180
+ implementation (npm(" text-encoding" , " 0.7.0" ))
181
+ implementation (" io.ktor:ktor-client-js:$ktorVersion " )
182
+ implementation (npm(" abort-controller" , " 3.0.0" ))
183
+ implementation (npm(" node-fetch" , " 2.6.0" ))
184
184
}
185
185
}
186
186
@@ -198,9 +198,9 @@ kotlin {
198
198
}
199
199
200
200
dependencies {
201
- api (" net.sourceforge.streamsupport:android-retrofuture:1.7.2" )
202
- api (" io.ktor:ktor-client-okhttp:$ktorVersion " )
203
- api (" io.coil-kt:coil:0.11 .0" )
201
+ implementation (" net.sourceforge.streamsupport:android-retrofuture:1.7.2" )
202
+ implementation (" io.ktor:ktor-client-okhttp:$ktorVersion " )
203
+ implementation (" io.coil-kt:coil:1.1 .0" )
204
204
}
205
205
}
206
206
0 commit comments