Fix MM build

This commit is contained in:
Alexander Nozik 2021-02-28 15:01:36 +03:00
parent 7c9315b029
commit 720555a942
3 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,7 @@ group = "ru.mipt.npm"
val ktorVersion: String by rootProject.extra
kscience {
// useSerialization()
useSerialization()
application()
}
@ -58,7 +58,7 @@ kotlin {
}
application {
mainClass.set("ru.mipt.npm.gradle.muon.monitor.server.MMServerKt")
mainClass.set("ru.mipt.npm.muon.monitor.server.MMServerKt")
}
distributions {

View File

@ -1,6 +1,7 @@
package hep.dataforge.vision.plotly
import hep.dataforge.context.PluginFactory
import hep.dataforge.misc.DFExperimental
import hep.dataforge.vision.Vision
import hep.dataforge.vision.VisionForge
import hep.dataforge.vision.VisionPlugin
@ -22,6 +23,7 @@ internal val plotlySerializersModule = SerializersModule {
/**
* Ensure that [PlotlyPlugin] is loaded in the global [VisionForge] context
*/
@DFExperimental
public fun VisionForge.usePlotly() {
plugins.fetch(PlotlyPlugin)
}

View File

@ -72,7 +72,7 @@ public class SolidGroup(
}
public companion object {
//public val PROTOTYPES_TOKEN = NameToken("@prototypes")
public val PROTOTYPES_TOKEN: NameToken = NameToken("@prototypes")
}
}