Skip to content

Commit b5d59dc

Browse files
committed
Workaround SBT regression to avoid an empty-named JAR entry
1 parent f0e9c40 commit b5d59dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ lazy val commonSettings = instanceSettings ++ clearSourceAndResourceDirectories
290290
packageOptions in Compile in packageBin := Seq.empty,
291291
packageOptions in Compile in packageSrc := Seq.empty,
292292

293+
// workaround for SBT regression. Real fix coming in https://github.com/scala/scala/pull/8525.
294+
mappings in Compile in packageBin := (mappings in Compile in packageBin).value.filterNot(_._2 == ""),
295+
293296
// Lets us CTRL-C partest without exiting SBT entirely
294297
cancelable in Global := true,
295298

0 commit comments

Comments
 (0)