From 3be6e51c42ac917bf873bd4f9fde84af0bc8cacb Mon Sep 17 00:00:00 2001 From: Kory | Ryosuke Kondo <6561358+kory33@users.noreply.github.com> Date: Sun, 26 Feb 2023 22:47:34 +0000 Subject: [PATCH] fix: apply suggestion --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 2d57457d0f..1da3be3b6f 100644 --- a/build.sbt +++ b/build.sbt @@ -129,10 +129,10 @@ assembly / assemblyExcludedJars := { // protocol配下とルートのLICENSEが衝突してCIが落ちる // cf. https://github.com/sbt/sbt-assembly/issues/141 -assemblyMergeStrategy in assembly := { +assemblyMergeStrategy in ThisBuild := { case PathList(ps @ _*) if ps.last endsWith "LICENSE" => MergeStrategy.rename case otherFile => - val oldStrategy = (assemblyMergeStrategy in assembly).value + val oldStrategy = (assemblyMergeStrategy in ThisBuild).value oldStrategy(otherFile) }