@@ -14,7 +14,7 @@ plugins {
14
14
kotlin(" plugin.serialization" )
15
15
id(" com.diffplug.spotless" ) version " 6.11.0"
16
16
id(" com.moowork.node" ) version " 1.3.1"
17
- id(" org.jetbrains.dokka" ) version " 1.7 .20"
17
+ id(" org.jetbrains.dokka" ) version " 1.8 .20"
18
18
}
19
19
20
20
repositories {
@@ -69,7 +69,7 @@ android {
69
69
this .unitTests.isReturnDefaultValues = true
70
70
}
71
71
sourceSets[" main" ].setRoot(" src/androidMain" )
72
- sourceSets[" test" ].setRoot(" src/androidTest " )
72
+ sourceSets[" test" ].setRoot(" src/androidUnitTest " )
73
73
}
74
74
75
75
// invoked in kotlin closure, needs to be registered before
@@ -83,7 +83,7 @@ val dokkaJar: TaskProvider<Jar> by tasks.registering(Jar::class) {
83
83
kotlin {
84
84
explicitApiWarning()
85
85
86
- android {
86
+ androidTarget {
87
87
compilations.all { kotlinOptions.jvmTarget = " 1.8" }
88
88
89
89
mavenPublication { setupPom(artifactId) }
@@ -116,7 +116,7 @@ kotlin {
116
116
testTask {
117
117
useKarma {
118
118
useChromeHeadless()
119
- webpackConfig.cssSupport.enabled = true
119
+ webpackConfig.cssSupport { isEnabled = true }
120
120
}
121
121
}
122
122
}
@@ -173,6 +173,7 @@ kotlin {
173
173
implementation(" com.soywiz.korlibs.krypto:krypto:$korlibsVersion " )
174
174
implementation(" com.soywiz.korlibs.korim:korim:$korlibsVersion " )
175
175
implementation(" org.jetbrains.kotlinx:kotlinx-datetime:$kotlinxDatetimeVersion " )
176
+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinxCoroutinesVersion " )
176
177
}
177
178
}
178
179
@@ -253,7 +254,7 @@ kotlin {
253
254
}
254
255
}
255
256
256
- val androidTest by getting {
257
+ val androidUnitTest by getting {
257
258
dependsOn(commonJvmLikeTest)
258
259
}
259
260
0 commit comments