Open wsargent opened 6 years ago
I think sbt treats scalaVersion
specially somehow … it's using (runner in Tut)
to construct the REPL so one would think it would pick the version up. Which version of sbt are you using?
While I'm pondering this … a common solution is to create a new sub-project just for doc, and you can set the scalaVersion
there. That's what I do for all my cross-compiled projects.
If I have a project which has a default scala version of 2.11 (so IntelliJ will show me the worst case cross compile) and I want to set the slides and documentation to 2.12 (like god intended), then doing the following should work:
However, this doesn't seem to do anything -- tut still runs in 2.12.6.