From 2a4d4f0ee9fc924ee9ff8a12c7a04a4c8e9a106b Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Tue, 24 Jan 2017 09:19:33 -0800 Subject: Change definition of root project to minimize potential confusion. --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index cfab7fbb..a00500a1 100644 --- a/build.sbt +++ b/build.sbt @@ -106,8 +106,8 @@ lazy val chiselFrontend = (project in file("chiselFrontend")). settings(publishArtifact := false). dependsOn(coreMacros) -// Hack to avoid circular dependency on chisel. -val root = Project("chisel", file(".")) +// This will always be the root project, even if we are a sub-project. +lazy val root = RootProject(file(".")) lazy val chisel = (project in file(".")). enablePlugins(BuildInfoPlugin). -- cgit v1.2.3