Tools to 0.5.1

This commit is contained in:
Alexander Nozik 2020-07-05 15:22:40 +03:00
parent c280671e61
commit fcba27cd72
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,5 @@
plugins { plugins {
val toolsVersion = "0.5.0" val toolsVersion = "0.5.1"
id("scientifik.mpp") version toolsVersion apply false id("scientifik.mpp") version toolsVersion apply false
id("scientifik.jvm") version toolsVersion apply false id("scientifik.jvm") version toolsVersion apply false
id("scientifik.publish") version toolsVersion apply false id("scientifik.publish") version toolsVersion apply false
@ -11,6 +10,7 @@ val dataforgeVersion by extra("0.1.8")
val bintrayRepo by extra("dataforge") val bintrayRepo by extra("dataforge")
val githubProject by extra("dataforge-core") val githubProject by extra("dataforge-core")
val spaceRepo by extra("https://maven.jetbrains.space/mipt-npm/p/df/maven")
allprojects { allprojects {
group = "hep.dataforge" group = "hep.dataforge"

View File

@ -18,7 +18,7 @@ class FrontMatterEnvelopeFormat(
) : EnvelopeFormat { ) : EnvelopeFormat {
override fun Input.readPartial(): PartialEnvelope { override fun Input.readPartial(): PartialEnvelope {
var line: String = "" var line = ""
var offset = 0u var offset = 0u
do { do {
line = readUtf8Line() //?: error("Input does not contain front matter separator") line = readUtf8Line() //?: error("Input does not contain front matter separator")
@ -45,7 +45,7 @@ class FrontMatterEnvelopeFormat(
} }
override fun Input.readObject(): Envelope { override fun Input.readObject(): Envelope {
var line: String = "" var line = ""
do { do {
line = readUtf8Line() //?: error("Input does not contain front matter separator") line = readUtf8Line() //?: error("Input does not contain front matter separator")
} while (!line.startsWith(SEPARATOR)) } while (!line.startsWith(SEPARATOR))