mirror of https://github.com/sbt/sbt.git
Fix support for published dotty nightly builds
Dotty nightly builds are published to maven, so they end up in configuration "default", not "compile". We still need to look into "compile" when dotty is published locally. You can test this using https://github.com/smarter/dotty-example-project by updating the sbt version used in project/build.properties and by replacing "0.1.1-SNAPSHOT" by a nightly version like "0.1.1-20170109-be64643-NIGHTLY" in build.sbt
This commit is contained in:
parent
45288b5f80
commit
0561c12d19
|
|
@ -28,7 +28,7 @@ object ScalaArtifacts {
|
|||
|
||||
private[sbt] def toolDependencies(org: String, version: String, isDotty: Boolean = false): Seq[ModuleID] =
|
||||
if (isDotty)
|
||||
Seq(ModuleID(org, DottyIDPrefix, version).withConfigurations(Some(Configurations.ScalaTool.name + "->compile"))
|
||||
Seq(ModuleID(org, DottyIDPrefix, version).withConfigurations(Some(Configurations.ScalaTool.name + "->default(compile)"))
|
||||
.withCrossVersion(CrossVersion.binary))
|
||||
else
|
||||
Seq(
|
||||
|
|
|
|||
Loading…
Reference in New Issue