diff --git a/build.sbt b/build.sbt index a884e5ef7..819873bd5 100644 --- a/build.sbt +++ b/build.sbt @@ -249,6 +249,16 @@ lazy val commandProj = (project in file("main-command")) addSbtCompilerClasspath, addSbtLm) +// The core macro project defines the main logic of the DSL, abstracted +// away from several sbt implementators (tasks, settings, et cetera). +lazy val coreMacrosProj = (project in file("core-macros")). + settings( + commonSettings, + name := "Core Macros", + libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value + ) + .configure(addSbtUtilCollection) + // Fixes scope=Scope for Setting (core defined in collectionProj) to define the settings system used in build definitions lazy val mainSettingsProj = (project in file("main-settings")) .dependsOn(commandProj, stdTaskProj)