Add wasm essentials

This commit is contained in:
Alexander Nozik 2023-12-05 15:11:22 +03:00
parent 71f7698633
commit 920385e135
3 changed files with 8 additions and 15 deletions

View File

@ -1,8 +1,8 @@
[versions] [versions]
tools = "0.15.1-kotlin-1.9.21" tools = "0.15.2-kotlin-1.9.21"
kotlin = "1.9.21" kotlin = "1.9.21"
# https://github.com/Kotlin/kotlinx-atomicfu # https://github.com/Kotlin/kotlinx-atomicfu
atomicfu = "0.22.0" atomicfu = "0.23.1"
# https://github.com/Kotlin/binary-compatibility-validator # https://github.com/Kotlin/binary-compatibility-validator
binary-compatibility-validator = "0.13.2" binary-compatibility-validator = "0.13.2"
# https://github.com/JetBrains/gradle-changelog-plugin # https://github.com/JetBrains/gradle-changelog-plugin
@ -16,7 +16,7 @@ kotlinx-benchmark = "0.4.9"
# https://github.com/Kotlin/kotlinx-cli # https://github.com/Kotlin/kotlinx-cli
kotlinx-cli = "0.3.6" kotlinx-cli = "0.3.6"
# https://github.com/Kotlin/kotlinx.coroutines # https://github.com/Kotlin/kotlinx.coroutines
kotlinx-coroutines = "1.7.3" kotlinx-coroutines = "1.8.0-RC"
# https://github.com/Kotlin/kotlinx-datetime # https://github.com/Kotlin/kotlinx-datetime
kotlinx-datetime = "0.4.1" kotlinx-datetime = "0.4.1"
# https://github.com/Kotlin/kotlinx.html # https://github.com/Kotlin/kotlinx.html
@ -26,7 +26,7 @@ kotlinx-knit = "0.4.0"
# https://github.com/Kotlin/kotlinx-nodejs # https://github.com/Kotlin/kotlinx-nodejs
kotlinx-nodejs = "0.0.7" kotlinx-nodejs = "0.0.7"
# https://github.com/Kotlin/kotlinx.serialization # https://github.com/Kotlin/kotlinx.serialization
kotlinx-serialization = "1.6.1" kotlinx-serialization = "1.6.2"
# https://ktor.io/ # https://ktor.io/
ktor = "2.3.6" ktor = "2.3.6"
# https://github.com/pdvrieze/xmlutil # https://github.com/pdvrieze/xmlutil
@ -110,8 +110,11 @@ logback-classic = { module = "ch.qos.logback:logback-classic", version.ref = "lo
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" } dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
compose = { id = "org.jetbrains.compose", version.ref = "compose" } compose = { id = "org.jetbrains.compose", version.ref = "compose" }
ktor = {id = "io.ktor.plugin", version.ref = "ktor"}
gradle-common = { id = "space.kscience.gradle.common", version.ref = "tools" } gradle-common = { id = "space.kscience.gradle.common", version.ref = "tools" }
gradle-project = { id = "space.kscience.gradle.project", version.ref = "tools" } gradle-project = { id = "space.kscience.gradle.project", version.ref = "tools" }
gradle-mpp = { id = "space.kscience.gradle.mpp", version.ref = "tools" } gradle-mpp = { id = "space.kscience.gradle.mpp", version.ref = "tools" }

View File

@ -155,14 +155,6 @@ public open class KScienceExtension(public val project: Project) {
} }
} }
project.pluginManager.withPlugin("org.jetbrains.kotlin.js") {
project.configure<KotlinJsProjectExtension> {
sourceSets.getByName(sourceSet ?: "main") {
dependencies(dependencyBlock)
}
}
}
project.pluginManager.withPlugin("org.jetbrains.kotlin.multiplatform") { project.pluginManager.withPlugin("org.jetbrains.kotlin.multiplatform") {
project.configure<KotlinMultiplatformExtension> { project.configure<KotlinMultiplatformExtension> {
sourceSets.getByName(sourceSet ?: "commonMain") { sourceSets.getByName(sourceSet ?: "commonMain") {
@ -537,7 +529,7 @@ public open class KScienceMppExtension(project: Project) : KScienceExtension(pro
) )
} }
} }
applyDefaultHierarchyTemplate()
} }
} }
} }

View File

@ -6,8 +6,6 @@ The Maven coordinates of this project are `${group}:${name}:${version}`.
```kotlin ```kotlin
repositories { repositories {
maven("https://repo.kotlin.link") maven("https://repo.kotlin.link")
//uncomment to access development builds
//maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
mavenCentral() mavenCentral()
} }