Skip to content

Commit a2fbeae

Browse files
authored
Merge pull request #8652 from retronym/topic/sbt-bump-fix
Workaround SBT regression to avoid an empty-named JAR entry
2 parents f0e9c40 + b5d59dc commit a2fbeae

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)