Remove experimental flag from YAML
This commit is contained in:
parent
f0820a3bed
commit
bedab0dc86
@ -4,7 +4,7 @@ plugins {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "space.kscience"
|
group = "space.kscience"
|
||||||
version = "0.6.0-dev-3"
|
version = "0.6.0-dev-4"
|
||||||
repositories{
|
repositories{
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,10 @@ public class MapActionBuilder<T, R>(
|
|||||||
|
|
||||||
public lateinit var result: suspend ActionEnv.(T) -> R
|
public lateinit var result: suspend ActionEnv.(T) -> R
|
||||||
|
|
||||||
internal fun <R1 : R> result(outputType: KType, f: suspend ActionEnv.(T) -> R1) {
|
/**
|
||||||
|
* Set unsafe [outputType] for the resulting data. Be sure that it is correct.
|
||||||
|
*/
|
||||||
|
public fun <R1 : R> result(outputType: KType, f: suspend ActionEnv.(T) -> R1) {
|
||||||
this.outputType = outputType
|
this.outputType = outputType
|
||||||
result = f;
|
result = f;
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,6 @@ import space.kscience.dataforge.misc.DFExperimental
|
|||||||
import space.kscience.dataforge.names.Name
|
import space.kscience.dataforge.names.Name
|
||||||
import space.kscience.dataforge.names.plus
|
import space.kscience.dataforge.names.plus
|
||||||
|
|
||||||
@DFExperimental
|
|
||||||
public class FrontMatterEnvelopeFormat(
|
public class FrontMatterEnvelopeFormat(
|
||||||
private val io: IOPlugin,
|
private val io: IOPlugin,
|
||||||
private val meta: Meta = Meta.EMPTY,
|
private val meta: Meta = Meta.EMPTY,
|
||||||
@ -101,7 +100,7 @@ public class FrontMatterEnvelopeFormat(
|
|||||||
envelope: Envelope,
|
envelope: Envelope,
|
||||||
metaFormatFactory: MetaFormatFactory,
|
metaFormatFactory: MetaFormatFactory,
|
||||||
formatMeta: Meta,
|
formatMeta: Meta,
|
||||||
): Unit = FrontMatterEnvelopeFormat.default.writeEnvelope(output, envelope, metaFormatFactory, formatMeta)
|
): Unit = default.writeEnvelope(output, envelope, metaFormatFactory, formatMeta)
|
||||||
|
|
||||||
|
|
||||||
override fun readObject(input: Input): Envelope = default.readObject(input)
|
override fun readObject(input: Input): Envelope = default.readObject(input)
|
||||||
|
@ -95,7 +95,6 @@ public fun YamlMap.toMeta(): Meta = YamlMeta(this)
|
|||||||
/**
|
/**
|
||||||
* Represent meta as Yaml
|
* Represent meta as Yaml
|
||||||
*/
|
*/
|
||||||
@DFExperimental
|
|
||||||
public class YamlMetaFormat(private val meta: Meta) : MetaFormat {
|
public class YamlMetaFormat(private val meta: Meta) : MetaFormat {
|
||||||
|
|
||||||
override fun writeMeta(output: Output, meta: Meta, descriptor: MetaDescriptor?) {
|
override fun writeMeta(output: Output, meta: Meta, descriptor: MetaDescriptor?) {
|
||||||
|
@ -13,7 +13,6 @@ import space.kscience.dataforge.names.Name
|
|||||||
import space.kscience.dataforge.names.asName
|
import space.kscience.dataforge.names.asName
|
||||||
import kotlin.reflect.KClass
|
import kotlin.reflect.KClass
|
||||||
|
|
||||||
@DFExperimental
|
|
||||||
public class YamlPlugin(meta: Meta) : AbstractPlugin(meta) {
|
public class YamlPlugin(meta: Meta) : AbstractPlugin(meta) {
|
||||||
public val io: IOPlugin by require(IOPlugin)
|
public val io: IOPlugin by require(IOPlugin)
|
||||||
|
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
Loading…
Reference in New Issue
Block a user