This commit is contained in:
Alexander Nozik 2023-07-07 21:44:38 +03:00
parent 72f2678f3d
commit 8a864f97a3
5 changed files with 11 additions and 19 deletions

View File

@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated
### Removed
- Groovy gradle dependency notation.
### Fixed

View File

@ -1,6 +1,6 @@
[versions]
tools = "0.14.9-kotlin-1.9.0-RC-dev-1"
kotlin = "1.9.0-RC"
tools = "0.14.9-kotlin-1.9.0"
kotlin = "1.9.0"
atomicfu = "0.20.2"
binary-compatibility-validator = "0.13.1"
changelog = "2.0.0"
@ -8,7 +8,7 @@ dokka = "1.8.10"
kotlin-jupyter = "0.11.0-360"
kotlinx-benchmark = "0.4.7"
kotlinx-cli = "0.3.5"
kotlinx-coroutines = "1.7.1"
kotlinx-coroutines = "1.7.2"
kotlinx-datetime = "0.4.0"
kotlinx-html = "0.8.0"
kotlinx-knit = "0.4.0"

View File

@ -1,5 +1,6 @@
package space.kscience.gradle
import org.gradle.api.Action
import org.gradle.api.Project
import org.gradle.api.file.DuplicatesStrategy
import org.gradle.api.plugins.ApplicationPlugin
@ -434,13 +435,13 @@ public open class KScienceMppExtension(project: Project) : KScienceExtension(pro
project.configure<KotlinMultiplatformExtension> {
wasm {
browser {
testTask {
testTask(Action {
useKarma {
this.webpackConfig.experiments.add("topLevelAwait")
useChromeHeadlessWasmGc()
useConfigDirectory(project.projectDir.resolve("karma.config.d").resolve("wasm"))
}
}
})
}
block()
}
@ -473,9 +474,9 @@ public open class KScienceMppExtension(project: Project) : KScienceExtension(pro
js {
binaries.executable()
browser {
webpackTask {
webpackTask(Action {
mainOutputFileName.set(bundleName)
}
})
browserConfig()
}
jsConfig()

View File

@ -142,7 +142,6 @@ public open class KScienceProjectPlugin : Plugin<Project> {
val readmeExtension = KScienceReadmeExtension(this)
extensions.add("readme", readmeExtension)
@Suppress("UNUSED_VARIABLE")
val generateReadme by tasks.creating {
group = "documentation"
description = "Generate a README file if stub is present"

View File

@ -2,21 +2,12 @@
The Maven coordinates of this project are `${group}:${name}:${version}`.
**Gradle Groovy:**
```groovy
repositories {
maven { url 'https://repo.kotlin.link' }
mavenCentral()
}
dependencies {
implementation '${group}:${name}:${version}'
}
```
**Gradle Kotlin DSL:**
```kotlin
repositories {
maven("https://repo.kotlin.link")
//uncomment to access development builds
//maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
mavenCentral()
}