Dale Wijnand
Dale Wijnand

Reputation: 6102

How does sbt reference the Project in the Build?

How does sbt pick up the root project in a simple definition such as this?

object HelloBuild extends Build {
    lazy val root = Project(id = "hello", base = file("."))
}

Upvotes: 2

Views: 78

Answers (1)

user500592
user500592

Reputation:

My (now a bit less) uninformed guess: reflection. :)

Edit: Some evidence (from the comments above):

Upvotes: 2

Related Questions