Merge branch 'dev' into ejeny_branch_

This commit is contained in:
EjenY-Poltavchiny 2023-06-16 15:42:40 +03:00 committed by GitHub
commit 91f5436be5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 67 deletions

View File

@ -72,7 +72,7 @@ ksciencePublish {
"https://maven.pkg.jetbrains.space/spc/p/sci/maven"
}
)
sonatype()
sonatype("https://oss.sonatype.org")
}
apiValidation.nonPublicMarkers.add("space.kscience.kmath.UnstableKMathAPI")

View File

@ -9,7 +9,7 @@ kotlin.native.ignoreDisabledTargets=true
org.gradle.configureondemand=true
org.gradle.jvmargs=-Xmx4096m
toolsVersion=0.14.6-kotlin-1.8.20
toolsVersion=0.14.8-kotlin-1.8.20
org.gradle.parallel=true

View File

@ -7,23 +7,7 @@ kscience {
js()
native()
wasm{
browser {
testTask {
useKarma {
this.webpackConfig.experiments.add("topLevelAwait")
useChromeHeadless()
useConfigDirectory(project.projectDir.resolve("karma.config.d").resolve("wasm"))
}
}
}
}
wasmTest{
dependencies {
implementation(kotlin("test"))
}
}
wasm()
dependencies {
api(projects.kmathCore)

View File

@ -6,22 +6,7 @@ kscience{
jvm()
js()
native()
wasm{
browser {
testTask {
useKarma {
webpackConfig.experiments.add("topLevelAwait")
useChromeHeadless()
}
}
}
}
wasmTest{
dependencies {
implementation(kotlin("test"))
}
}
wasm()
dependencies {
api(projects.kmathMemory)

View File

@ -7,6 +7,7 @@
package space.kscience.kmath.streaming
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.FlowPreview
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.asFlow
@ -25,6 +26,7 @@ public fun <T> Buffer<T>.asFlow(): Flow<T> = iterator().asFlow()
/**
* Flat map a [Flow] of [Buffer] into continuous [Flow] of elements
*/
@OptIn(ExperimentalCoroutinesApi::class)
public fun <T> Flow<Buffer<T>>.spread(): Flow<T> = flatMapConcat { it.asFlow() }
/**

View File

@ -7,23 +7,9 @@ kscience{
js()
native()
wasm{
browser {
testTask {
useKarma {
this.webpackConfig.experiments.add("topLevelAwait")
useChromeHeadless()
useConfigDirectory(project.projectDir.resolve("karma.config.d").resolve("wasm"))
}
}
}
}
wasm()
wasmTest{
dependencies {
implementation(kotlin("test"))
}
}
dependencies {
api(projects.kmathCore)

View File

@ -6,22 +6,7 @@ kscience {
jvm()
js()
native()
wasm{
browser {
testTask {
useKarma {
webpackConfig.experiments.add("topLevelAwait")
useChromeHeadless()
}
}
}
}
wasmTest{
dependencies {
implementation(kotlin("test"))
}
}
wasm()
}
readme {