How do i change the Scala version that sbt works with?

Posted by ashy_32bit on Stack Overflow See other posts from Stack Overflow or by ashy_32bit
Published on 2010-12-31T05:50:39Z Indexed on 2010/12/31 5:54 UTC
Read the original article Hit count: 222

Filed under:
|

Firing up the SBT console it reads :

[info] Building project AYLIEN 1.0 against Scala 2.8.1
[info]    using MyProject with sbt 0.7.4 and Scala 2.7.7

How can I make it use MyProject with sbt 0.7.4 and Scala 2.8.1 ? Please pay attenetion that I'm not asking about the Scala version that is used to build my project (it is the 2.8.1 as you can see), but I rather want to make sbt use MyProject with Scala 2.8.1. Apparently sbt uses it's own scala version to work with project definition (MyProject here) which is different than one it uses to actually build the project! or perhaps I'm missing something ... ?

© Stack Overflow or respective owner

Related posts about scala

Related posts about sbt