How to install an older version of scala

后端 未结 5 1052
一向
一向 2021-02-02 09:59

I currently had installed scala 2.11.7 but in order to fix this issue, I have to install a older version of scala(2.10.5). When I try to install with b

5条回答
  •  感情败类
    2021-02-02 10:38

    Homebrew installs scala 2.10.5 with the formula scala210:

    $ brew install scala210
    ==> Installing scala210 from homebrew/homebrew-versions
    ==> Downloading https://homebrew.bintray.com/bottles/scala210-2.10.5.yosemite.bottle.tar.gz
    
    ==> Downloading http://www.scala-lang.org/files/archive/scala-2.10.5.tgz
    ######################################################################## 100,0%
    

    However, if you are using a build tool like maven or sbt, you should be able to set another scala version in your build config. You should then be able to import your project into IntelliJ and IntelliJ should automatically use the dependencies defined in your build config.

提交回复
热议问题