mill.scalalib.Dep
See theDep companion object
Attributes
Members list
Value members
Concrete methods
Attributes
- Source
- Dep.scala
Attributes
- Source
- Dep.scala
Attributes
- Source
- Dep.scala
Attributes
- Source
- Dep.scala
Attributes
- Source
- Dep.scala
Attributes
- Source
- Dep.scala
Attributes
- Source
- Dep.scala
Attributes
- Source
- Dep.scala
@Scaladoc(value = "/**\n * If scalaVersion is a Dotty version, replace the cross-version suffix\n * by the Scala 2.x version that the Dotty version is retro-compatible with,\n * otherwise do nothing.\n *\n * This setting is useful when your build contains dependencies that have only\n * been published with Scala 2.x, if you have:\n * {{{\n * def ivyDeps = Seq(ivy\"a::b:c\")\n * }}}\n * you can replace it by:\n * {{{\n * def ivyDeps = Seq(ivy\"a::b:c\".withDottyCompat(scalaVersion()))\n * }}}\n * This will have no effect when compiling with Scala 2.x, but when compiling\n * with Dotty this will change the cross-version to a Scala 2.x one. This\n * works because Dotty is currently retro-compatible with Scala 2.x.\n */")
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 = Seq(ivy"a::b:c")
you can replace it by:
def ivyDeps = Seq(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.
Attributes
- Source
- Dep.scala
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article