Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Automatically choose proper compiler bridge for dotty #2902
Before this commit, using dotty in your sbt project required to add:
scalaCompilerBridgeSource := ("ch.epfl.lamp" % "dotty-sbt-bridge" % scalaVersion.value % "component").sources()
in your build.sbt. We might as well automatically do this, this reduces
scalaOrganization := "ch.epfl.lamp" scalaVersion := "0.1.1-SNAPSHOT" scalaBinaryVersion := "2.11" // dotty itself is only published as a // 2.11 artefact currently
Note: I did not add a test for this since there is no released version of dotty yet, we could have a test that depends on a nightly build of dotty (http://central.maven.org/maven2/ch/epfl/lamp/dotty_2.11/) but I'm not sure if maven keeps old nightly builds around forever.
referenced this pull request
Jan 10, 2017
I think it's generally ok, but could you add release notes in https://github.com/sbt/sbt/tree/0.13/notes/0.13.14 and clarify in there that Dotty support in sbt is an experimental feature that's controlled by EPFL, plz?