Replace
Project
with
project.in
.
Before:
val proj = Project("proj", path)
After:
val proj = project.in(path)