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

  • SEARCH
  • Home
  • 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

Where I can change compiler options for C# project in VisualStudio 2008 (without command
Can I use scala List in Java, like : import scala.collection.immutable.List; class HelloScalaList {
I would like to upgrade lift version to bypass a lift bug. However, I
I would like to programmatically determine all properties of a Scala class at runtime.
I can change SQL at runtime. Can I do the same with LINQ ?
I can change the irb prompt mode with irb --prompt prompt-mode I can see
How i can change the color with gradient??? I have this now,but is different
I know I can change the selectionStyle of a UITableViewCell to make it highlight
I understand that I can change a sql table using the follow sp: EXEC
How I can change the individual region background color of viewport extjs 4. Here

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.