Workaround for XML literal in build.sbt

This commit is contained in:
Eugene Yokota 2016-04-29 16:18:19 -04:00
parent bfd7930217
commit 9e10f01363
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ object BuildUtil {
}
}
def baseImports: Seq[String] = "import sbt._, Keys._, dsl._, Import._" :: Nil
def baseImports: Seq[String] = "import scala.xml.{TopScope=>$scope}" :: "import sbt._, Keys._, dsl._, Import._" :: Nil
def getImports(unit: BuildUnit): Seq[String] = unit.plugins.detected.imports ++ unit.definitions.dslDefinitions.imports