mirror of https://github.com/sbt/sbt.git
**Problem** Whether a subproject is root or not is currently detected by comparing getCanonicalFile against the build base directory. Problem is that often the root project uses "." as the directory, and getting the canonical file works ok for the current build, but it breaks when loading `ProjectRef`. There might be other bugs related to the root project detection. **Solution** This factors out `isRootPath` function that's aware of the build base. This PR adds the repro test prepared by xuwei-k. |
||
|---|---|---|
| .. | ||
| main | ||
| test/scala | ||