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