mirror of https://github.com/sbt/sbt.git
Merge pull request #2903 from smarter/fix/dotty-nightlies
Fix support for published dotty nightly builds
This commit is contained in:
commit
55efa89ca3
|
|
@ -29,7 +29,7 @@ object ScalaArtifacts {
|
||||||
|
|
||||||
private[sbt] def toolDependencies(org: String, version: String, isDotty: Boolean = false): Seq[ModuleID] =
|
private[sbt] def toolDependencies(org: String, version: String, isDotty: Boolean = false): Seq[ModuleID] =
|
||||||
if (isDotty)
|
if (isDotty)
|
||||||
Seq(ModuleID(org, DottyIDPrefix, version, Some(Configurations.ScalaTool.name + "->compile"),
|
Seq(ModuleID(org, DottyIDPrefix, version, Some(Configurations.ScalaTool.name + "->default(compile)"),
|
||||||
crossVersion = CrossVersion.binary))
|
crossVersion = CrossVersion.binary))
|
||||||
else
|
else
|
||||||
Seq(scalaToolDependency(org, ScalaArtifacts.CompilerID, version),
|
Seq(scalaToolDependency(org, ScalaArtifacts.CompilerID, version),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue