|
|
@ -5,18 +5,18 @@ plugins { |
|
|
|
id("org.jetbrains.compose") |
|
|
|
id("org.jetbrains.compose") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
val skiko by configurations.creating |
|
|
|
val skikoWasm by configurations.creating |
|
|
|
|
|
|
|
|
|
|
|
dependencies { |
|
|
|
dependencies { |
|
|
|
skiko("org.jetbrains.skiko:skiko:0.0.0-SNAPSHOT") |
|
|
|
skikoWasm("org.jetbrains.skiko:skiko-js-wasm-runtime:0.0.0-SNAPSHOT") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
tasks.register<Copy>("copySkiko") { |
|
|
|
val copySkikoResources = tasks.register("copySkikoResources", Copy::class) { |
|
|
|
val skikoJar = skiko.find { |
|
|
|
from(skikoWasm.map { zipTree(it) }) { |
|
|
|
it.name == "skiko-jvm-0.0.0-SNAPSHOT.jar" |
|
|
|
include("skiko.wasm") |
|
|
|
|
|
|
|
include("skiko.js") |
|
|
|
} |
|
|
|
} |
|
|
|
from(zipTree(skikoJar)) |
|
|
|
destinationDir = file("${project.buildDir}/skiko") |
|
|
|
into("${project.buildDir}/skiko") |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
kotlin { |
|
|
|
kotlin { |
|
|
|