What is root-build in intellij?
Asked Answered
K

2

7

Whenever I create an sbt project in intellij, I get something like this:

enter image description here

What is root-build here, and why is it labeled as "sources root"?

Kyser answered 6/11, 2015 at 13:45 Comment(0)
I
1

When you create an sbt project in IntelliJ, the default root of sbt, called root, is added as a module. You can see this by right-clicking on the project and clicking Open Module Settings. That is what root-build refers to.

You can read a description of content roots on the IDEA site.

Ind answered 6/11, 2015 at 15:39 Comment(0)
N
0

I'm just guessing (at least I am being honest) but I believe SBT configuration itself can be considered a "development project" and so is setup as a separate module called "project" for its build, i.e. the build of the build configuration. Notice it has its own "target" directory.

Nabila answered 14/1, 2016 at 16:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.