



When you try to import an sbt project that contains an old version of sbt, you might get an error. The newer sbt versions(1.0 +) will create the build.properties file automatically if it doesn't exist. In the editor explicitly specify the version of sbt that you want to use in the project. In the Project tool window, in the source root directory, locate the build.properties file and open it in the editor. You can override the sbt version in your project's build.properties file. Often you share your project across a team and need to use a specific version of sbt. If you need to adjust importing options when you open the project, refer to the sbt settings.Įnsure sbt and Scala versions compatibility IntelliJ IDEA opens and syncs the sbt project in the IDE. In the dialog that opens, click Select as Project. In the dialog that opens, select a file that contains your sbt project description build.sbt. Otherwise, select File | Open from the main menu. If no project is currently opened in IntelliJ IDEA, click Open on the welcome screen. (The sbt and Scala versions are fetched automatically.) To create a new project, launch the New Project wizard and follow the steps suggested in the wizard such as selecting Scala and sbt specifying the project's location, JDK along with sbt and Scala versions.
