Clarify my last edit

Blaisorblade 2012-07-19 10:27:23 -07:00
parent 5c5565e5e0
commit 97a6d92e15
1 changed files with 1 additions and 1 deletions

@ -169,7 +169,7 @@ have to compile the root project, you could compile only a subproject.
## Sharing settings
Even when using different `build.sbt` files, it's easy to share settings across all projects from the main build. For instance, when a main project depends on a subproject, these two projects must typically be compiled with the same Scala version. To set it only once, it is enough to write, in the main `build.sbt` file, the following line:
When having a single `.scala` file setting up the different projects, it's easy to use reuse settings across different projects. But even when using different `build.sbt` files, it's still easy to share settings across all projects from the main build, by using the `ThisBuild` scope to make a setting apply globally. For instance, when a main project depends on a subproject, these two projects must typically be compiled with the same Scala version. To set it only once, it is enough to write, in the main `build.sbt` file, the following line:
```scala
scalaVersion in ThisBuild := "2.10.0"