case class Dep(dep: coursier.Dependency, cross: CrossVersion, force: Boolean) extends Product with Serializable
- Source
- Dep.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Dep
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Dep(dep: coursier.Dependency, cross: CrossVersion, force: Boolean)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def artifactName(binaryVersion: String, fullVersion: String, platformSuffix: String): String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bindDep(binaryVersion: String, fullVersion: String, platformSuffix: String): BoundDep
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def configure(attributes: Attributes): Dep
- val cross: CrossVersion
- val dep: coursier.Dependency
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def exclude(exclusions: (String, String)*): Dep
- def excludeName(names: String*): Dep
- def excludeOrg(organizations: String*): Dep
- val force: Boolean
- def forceVersion(): Dep
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def optional(optional: Boolean = true): Dep
- def organization: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toDependency(binaryVersion: String, fullVersion: String, platformSuffix: String): coursier.core.Dependency
- def version: String
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withConfiguration(configuration: String): Dep
- def withDottyCompat(scalaVersion: String): Dep
If scalaVersion is a Dotty version, replace the cross-version suffix by the Scala 2.x version that the Dotty version is retro-compatible with, otherwise do nothing.
If scalaVersion is a Dotty version, replace the cross-version suffix by the Scala 2.x version that the Dotty version is retro-compatible with, otherwise do nothing.
This setting is useful when your build contains dependencies that have only been published with Scala 2.x, if you have:
def ivyDeps = Agg(ivy"a::b:c")
you can replace it by:
def ivyDeps = Agg(ivy"a::b:c".withDottyCompat(scalaVersion()))
This will have no effect when compiling with Scala 2.x, but when compiling with Dotty this will change the cross-version to a Scala 2.x one. This works because Dotty is currently retro-compatible with Scala 2.x.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)