You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sbt-dotty does not load on sbt 1.3.0-SNAPSHOT #5671
This is very weird, dotty itself and https://github.com/lampepfl/dotty-example-project use sbt 1.2.x without issues. In fact, I just tried changing the version that dotty-example-project uses to 1.2.8 and I did not encounter the error you're reporting, can you share the project ?
In there sbtMinor is hardcoded to 1.
It's not, if sbtMinor > 1 then the error is not displayed, so 1.2.x is fine.
Activity
smarter commentedon Jan 3, 2019
This is very weird, dotty itself and https://github.com/lampepfl/dotty-example-project use sbt 1.2.x without issues. In fact, I just tried changing the version that dotty-example-project uses to 1.2.8 and I did not encounter the error you're reporting, can you share the project ?
It's not, if
sbtMinor > 1then the error is not displayed, so 1.2.x is fine.[-]sbt-dotty does not load on sbt 1.2.x[/-][+]sbt-dotty does not load on sbt 1.3.0-SNAPSHOT[/+]eed3si9n commentedon Jan 3, 2019
Where I actually saw this was in scripted test. I figured it was anything above sbt 1.1.x, but maybe the problem is with
-SNAPSHOT?smarter commentedon Jan 3, 2019
ah indeed, looks like
sbtFullVersionwill returnNonefor1.3.0-SNAPSHOT, the error should not be emitted if we couldn't parse the version number.smarter commentedon Jan 3, 2019
By the way it'd be nice if sbt provided something like
sbtFullVersionso that I wouldn't have to implement it myself badly :).smarter commentedon Jan 3, 2019
Or maybe just a high-level mechanism to enforce that this plugin requires a particular minimum version of sbt.
eed3si9n commentedon Jan 3, 2019
I think https://github.com/sbt/librarymanagement/blob/develop/core/src/main/scala/sbt/librarymanagement/VersionNumber.scala has semver check.
mark dotty-compiler-plugin pending
eed3si9n commentedon Jan 3, 2019
changhe626 commentedon Jan 21, 2019
sbt-dotty: Fix minimum sbt version check
sbt-dotty: Fix minimum sbt version check
sbt-dotty: Fix minimum sbt version check
sbt-dotty: Fix minimum sbt version check
sbt-dotty: Fix minimum sbt version check
sbt-dotty: Fix minimum sbt version check
sbt-dotty: Fix minimum sbt version check
sbt-dotty: Fix minimum sbt version check
sbt-dotty: Fix minimum sbt version check
Reenable dotty-compiler-plugin test
Reenable dotty-compiler-plugin test
Reenable dotty-compiler-plugin test
Reenable dotty-compiler-plugin test
Reenable dotty-compiler-plugin test
Reenable dotty-compiler-plugin test
Reenable dotty-compiler-plugin test