Tutorial by Examples

Sometimes a build combines multiple source directories, each of which is their own 'project'. For instance, you might have a build structure like this: projectName/ build.sbt project/ src/ main/ ... test/ ... core/ src/ main/ ... test/ ... webapp/ src/ main/ ... test/ ... In t...
In the build.sbt file (or where the project is defined if it is in another location), add the following setting: scalacOptions += "-language:experimental.macros" For instance, a project might be defined like this: lazy val main = project.in(file(".")) // root project .se...
When in the SBT console, to list all definable settings for a project: settings Or, to get a subproject's (for example, named webapp) settings: project webapp settings The first line above navigates into the specific subproject. To show the value of a specific setting (for instance, organi...

Page 1 of 1