Add Js targets
This commit is contained in:
parent
7d3b219d70
commit
f05f6e137c
@ -5,8 +5,10 @@ plugins {
|
|||||||
`maven-publish`
|
`maven-publish`
|
||||||
}
|
}
|
||||||
|
|
||||||
kscience{
|
kscience {
|
||||||
jvm()
|
jvm()
|
||||||
|
js()
|
||||||
|
useCoroutines()
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
@ -20,7 +22,7 @@ kotlin {
|
|||||||
api("io.ktor:ktor-client-core")
|
api("io.ktor:ktor-client-core")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val jvmTest by getting {
|
getByName("jvmTest") {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("io.ktor:ktor-client-cio")
|
implementation("io.ktor:ktor-client-cio")
|
||||||
implementation(compose.desktop.currentOs)
|
implementation(compose.desktop.currentOs)
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@file:Suppress("DEPRECATION")
|
||||||
|
|
||||||
package center.sciprog.maps.compose
|
package center.sciprog.maps.compose
|
||||||
|
|
||||||
import kotlin.jvm.Synchronized
|
import kotlin.jvm.Synchronized
|
||||||
|
@ -6,6 +6,7 @@ plugins {
|
|||||||
|
|
||||||
kscience{
|
kscience{
|
||||||
jvm()
|
jvm()
|
||||||
|
js()
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
@ -17,7 +18,7 @@ kotlin {
|
|||||||
api(compose.foundation)
|
api(compose.foundation)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val jvmMain by getting {
|
getByName("jvmMain"){
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("org.jfree:org.jfree.svg:5.0.4")
|
implementation("org.jfree:org.jfree.svg:5.0.4")
|
||||||
api(compose.desktop.currentOs)
|
api(compose.desktop.currentOs)
|
||||||
|
Loading…
Reference in New Issue
Block a user