[WASM] Add w3c bindings
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
kotlin("jvm") version "1.6.10"
|
||||
kotlin("jvm") version "1.7.20"
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -8,7 +8,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.jetbrains.dukat:dukat:0.5.8-rc.4")
|
||||
implementation("org.jetbrains.dukat:dukat:0.5.8-rc.5")
|
||||
implementation("org.jsoup:jsoup:1.14.2")
|
||||
}
|
||||
|
||||
@@ -19,7 +19,16 @@ task("downloadIDL", JavaExec::class) {
|
||||
}
|
||||
|
||||
task("generateStdlibFromIDL", JavaExec::class) {
|
||||
main = "org.jetbrains.kotlin.tools.dukat.LaunchKt"
|
||||
main = "org.jetbrains.kotlin.tools.dukat.LaunchJsKt"
|
||||
classpath = sourceSets["main"].runtimeClasspath
|
||||
dependsOn(":dukat:build")
|
||||
systemProperty("line.separator", "\n")
|
||||
}
|
||||
|
||||
// Configured version of Dukat creates incorrect declarations for kotlin/wasm, pathed version located in yakovlev/dynamicAsType
|
||||
// After patched version be published we need to update dukat version in dependencies here.
|
||||
task("generateWasmStdlibFromIDL", JavaExec::class) {
|
||||
main = "org.jetbrains.kotlin.tools.dukat.LaunchWasmKt"
|
||||
classpath = sourceSets["main"].runtimeClasspath
|
||||
dependsOn(":dukat:build")
|
||||
systemProperty("line.separator", "\n")
|
||||
|
||||
Reference in New Issue
Block a user