@@ -14,7 +14,7 @@ plugins {
1414 kotlin(" plugin.serialization" )
1515 id(" com.diffplug.spotless" ) version " 6.11.0"
1616 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"
1818}
1919
2020repositories {
@@ -69,7 +69,7 @@ android {
6969 this .unitTests.isReturnDefaultValues = true
7070 }
7171 sourceSets[" main" ].setRoot(" src/androidMain" )
72- sourceSets[" test" ].setRoot(" src/androidTest " )
72+ sourceSets[" test" ].setRoot(" src/androidUnitTest " )
7373}
7474
7575// invoked in kotlin closure, needs to be registered before
@@ -83,7 +83,7 @@ val dokkaJar: TaskProvider<Jar> by tasks.registering(Jar::class) {
8383kotlin {
8484 explicitApiWarning()
8585
86- android {
86+ androidTarget {
8787 compilations.all { kotlinOptions.jvmTarget = " 1.8" }
8888
8989 mavenPublication { setupPom(artifactId) }
@@ -116,7 +116,7 @@ kotlin {
116116 testTask {
117117 useKarma {
118118 useChromeHeadless()
119- webpackConfig.cssSupport.enabled = true
119+ webpackConfig.cssSupport { isEnabled = true }
120120 }
121121 }
122122 }
@@ -173,6 +173,7 @@ kotlin {
173173 implementation(" com.soywiz.korlibs.krypto:krypto:$korlibsVersion " )
174174 implementation(" com.soywiz.korlibs.korim:korim:$korlibsVersion " )
175175 implementation(" org.jetbrains.kotlinx:kotlinx-datetime:$kotlinxDatetimeVersion " )
176+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlinxCoroutinesVersion " )
176177 }
177178 }
178179
@@ -253,7 +254,7 @@ kotlin {
253254 }
254255 }
255256
256- val androidTest by getting {
257+ val androidUnitTest by getting {
257258 dependsOn(commonJvmLikeTest)
258259 }
259260
0 commit comments