Add utilLogging contraband directory to managedSourceDirectories

See https://github.com/sbt/contraband/issues/76.
This commit is contained in:
Ethan Atkins 2019-12-12 18:10:45 -08:00
parent 18c6264656
commit 2a47205ef7
1 changed files with 2 additions and 0 deletions

View File

@ -345,6 +345,8 @@ lazy val utilLogging = (project in file("internal") / "util-logging")
case _ => List()
}),
sourceManaged in (Compile, generateContrabands) := baseDirectory.value / "src" / "main" / "contraband-scala",
managedSourceDirectories in Compile +=
baseDirectory.value / "src" / "main" / "contraband-scala",
contrabandFormatsForType in generateContrabands in Compile := { tpe =>
val old = (contrabandFormatsForType in generateContrabands in Compile).value
val name = tpe.removeTypeParameters.name