mirror of https://github.com/sbt/sbt.git
Workaround for XML literal in build.sbt
This commit is contained in:
parent
bfd7930217
commit
9e10f01363
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue