DependencyParser

io.github.matejcerny.sbtconfig.parser.DependencyParser

Parser for dependency fields in HOCON config.

Supports three modes:

  • Mode 1 (Flat list): all dependencies use CrossVersionType.Scala and Platform.Shared.
  • Mode 2 (Language split): scala/java map to Platform.Shared; js to Platform.Js; native to Platform.Native.
  • Mode 3 (Full matrix): explicit platform grouping with shared/jvm objects and js/native flat lists.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def parseDependencyField(config: Config, fieldName: String): Either[String, Option[Seq[Dependency]]]

Parse a dependency field that can be a flat list, a language-split object, or a full-matrix object.

Parse a dependency field that can be a flat list, a language-split object, or a full-matrix object.

Attributes