SBT 0.10 - remove dependency on Scala 2.8.1

My project uses Scala 2.9, so I added

scalaVersion := "2.9.0-1" 

into my build.sbt file and run gen-idea . However, IDEA still shows Scala 2.8.1 (in addition to 2.9) in external libraries. Why and how to remove it?

+4
source share
1 answer

Your application will be compiled with any version of Scala or versions you choose. However, SBT is also a Scala application, and it was compiled with Scala 2.8.1, so it needs the Scala 2.8.1 libraries. This will not affect your application.

+3
source

Source: https://habr.com/ru/post/1369335/


All Articles