Dependency

io.github.matejcerny.sbtconfig.model.Dependency
case class Dependency(organization: String, name: String, version: String, crossVersionType: CrossVersionType = ..., platform: Platform = ...)

Represents a single dependency.

Value parameters

crossVersionType

How the artifact name is cross-versioned (default: Scala %%)

name

Artifact name (e.g., "cats-core")

organization

Group/organization ID (e.g., "org.typelevel")

platform

Which platform(s) this dependency targets (default: Shared = all platforms)

version

Version string (e.g., "2.13.0")

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product