Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 806931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:19:22+00:00 2026-05-15T00:19:22+00:00

How can I change Scala version in a sbt project? I would like SBT

  • 0

How can I change Scala version in a sbt project?

I would like SBT to check whether the system’s Scala version is correct and if it is not the case then download it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:19:22+00:00Added an answer on May 15, 2026 at 12:19 am

    xsbt (0.10+, including the latest 0.13.7)

    Change scalaVersion in build.sbt to whatever Scala version your project should be using – see .sbt build definition.

    scalaVersion := "2.10.1"
    

    sbt:

    As mentioned in RunningSBT, you can:

    You can temporarily switch to another version of Scala using ++<version>.
    This version does not have to be listed in your build.scala.versions property, but it does have to be in a repository or be a local Scala version you have defined.

    But the CrossBuild page is more suited for what you want, as it shows in action how to change the build.scala.versions property.

    So you should be able to

    set build.scala.versions 2.7.7
    reload
    set build.scala.versions 2.8.0.RC2
    reload
    

    and each time trigger a compilation with a different Scala version.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

You can change the connection string at run-time like this. You make the connection
I can set data in JTable constructor, and then user can change this data
You'd think it would be easy, but keep reading. I can change many of
Can someone tell me how i can change the .xml file that a flash
I understand how I can change the dns settings for my domains by editing
Is there an app that can change the order of images inside an icon?
Is there any way that I can change how a Literal of a code
According to this website , you can change to command key sequence used by
How can I change the title of the command prompt window every time I
How can I change default Generate Method Stub behavior in Visaul Studio to generate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.