File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ plugins {
77 kotlin(" multiplatform" )
88}
99
10- val kotlinxCoroutinesVersion = extra[" kotlinx.coroutines.version" ] as String
11- val kotlinxDatetimeVersion = extra[" kotlinx.datetime.version" ] as String
10+ // val kotlinxCoroutinesVersion = extra["kotlinx.coroutines.version"] as String
11+ // val kotlinxDatetimeVersion = extra["kotlinx.datetime.version"] as String
1212
1313kotlin {
1414 js {
@@ -21,8 +21,8 @@ kotlin {
2121 dependencies {
2222// implementation("io.github.microutils:kotlin-logging-js:$kotlinLoggingVersion")
2323 implementation(projects.plotApi)
24- implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:${kotlinxCoroutinesVersion} " )
25- implementation(" org.jetbrains.kotlinx:kotlinx-datetime:$kotlinxDatetimeVersion " )
24+ // implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:${kotlinxCoroutinesVersion}")
25+ // implementation("org.jetbrains.kotlinx:kotlinx-datetime:$kotlinxDatetimeVersion")
2626 }
2727 }
2828 }
Original file line number Diff line number Diff line change @@ -28,14 +28,17 @@ kotlin {
2828 api(" org.jetbrains.lets-plot:plot-builder:$letsPlotVersion " )
2929 api(" org.jetbrains.lets-plot:plot-stem:$letsPlotVersion " )
3030
31- compileOnly(" org.jetbrains.kotlinx:kotlinx-datetime:${kotlinxDatetimeVersion} " )
31+ // Required for proper building of Kotlin/JS artifacts.
32+ implementation(" org.jetbrains.kotlinx:kotlinx-datetime:${kotlinxDatetimeVersion} " )
33+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:${kotlinxCoroutinesVersion} " )
3234 }
3335 }
3436 commonTest {
3537 dependencies {
3638 implementation(kotlin(" test" ))
3739 implementation(" org.jetbrains.kotlinx:kotlinx-datetime:${kotlinxDatetimeVersion} " )
38- implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:${kotlinxCoroutinesVersion} " ) }
40+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:${kotlinxCoroutinesVersion} " )
41+ }
3942 }
4043
4144 named(" jvmMain" ) {
You can’t perform that action at this time.
0 commit comments