Compare commits

..

No commits in common. "6cd7b572d6bf966ec5f6a11a82b452d78ed46728" and "ed5faa0335efe6de6c623f3623f2e252aaa35f1b" have entirely different histories.

3 changed files with 21 additions and 14 deletions

View File

@ -1,8 +1,8 @@
[versions] [versions]
tools = "0.15.2-kotlin-2.0.0-Beta2" tools = "0.15.0-kotlin-2.0.0-Beta1"
kotlin = "2.0.0-Beta2" kotlin = "2.0.0-Beta1"
# https://github.com/Kotlin/kotlinx-atomicfu # https://github.com/Kotlin/kotlinx-atomicfu
atomicfu = "0.23.1" atomicfu = "0.22.0"
# 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
@ -10,13 +10,13 @@ changelog = "2.2.0"
# https://github.com/Kotlin/dokka # https://github.com/Kotlin/dokka
dokka = "1.9.10" dokka = "1.9.10"
# https://github.com/Kotlin/kotlin-jupyter # https://github.com/Kotlin/kotlin-jupyter
kotlin-jupyter = "0.12.0-93" kotlin-jupyter = "0.12.0-81"
# https://github.com/Kotlin/kotlinx-benchmark # https://github.com/Kotlin/kotlinx-benchmark
kotlinx-benchmark = "0.4.9" 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.8.0-RC" kotlinx-coroutines = "1.7.3"
# 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,18 +26,18 @@ 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.2" kotlinx-serialization = "1.6.0"
# https://ktor.io/ # https://ktor.io/
ktor = "2.3.6" ktor = "2.3.5"
# https://github.com/pdvrieze/xmlutil # https://github.com/pdvrieze/xmlutil
xmlutil = "0.86.2" xmlutil = "0.86.1"
# https://github.com/Him188/yamlkt # https://github.com/Him188/yamlkt
yamlkt = "0.13.0" yamlkt = "0.13.0"
# https://github.com/JetBrains/kotlin-wrappers # https://github.com/JetBrains/kotlin-wrappers
jsBom = "1.0.0-pre.648" jsBom = "1.0.0-pre.624"
junit = "5.9.3" junit = "5.9.3"
# https://github.com/JetBrains/compose-multiplatform # https://github.com/JetBrains/compose-multiplatform
compose = "1.5.11" compose = "1.5.10"
# https://mvnrepository.com/artifact/org.slf4j/slf4j-api # https://mvnrepository.com/artifact/org.slf4j/slf4j-api
slf4j = "2.0.9" slf4j = "2.0.9"
# https://mvnrepository.com/artifact/ch.qos.logback/logback-classic # https://mvnrepository.com/artifact/ch.qos.logback/logback-classic
@ -110,11 +110,8 @@ 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,6 +155,14 @@ 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") {
@ -529,7 +537,7 @@ public open class KScienceMppExtension(project: Project) : KScienceExtension(pro
) )
} }
} }
applyDefaultHierarchyTemplate()
} }
} }
} }

View File

@ -6,6 +6,8 @@ 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()
} }