This page describes an old style of
.sbt build definition.
The current recommendation is to use Multi-project .sbt build definition.
Unlike Multi-project .sbt build definition and .scala build definition
that explicitly define a Project definition,
bare build definition implicitly defines one based on the location of the
Instead of defining
.sbt build definition consists of
a list of
name := "hello" version := "1.0" scalaVersion := "2.12.2"
Note: This blank line delimitation will no longer be needed after 0.13.7.
You can’t write a bare build.sbt like this:
// will NOT compile, no blank lines name := "hello" version := "1.0" scalaVersion := "2.10.3"
sbt needs some kind of delimiter to tell where one expression stops and the next begins.