From 89ef5358b8bc9a01bd733e43d74aef14bf007ae0 Mon Sep 17 00:00:00 2001 From: Kory | Ryosuke Kondo <6561358+kory33@users.noreply.github.com> Date: Sun, 26 Feb 2023 22:54:29 +0000 Subject: [PATCH] revert previous suggestion --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 1da3be3b6f..2d57457d0f 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 ThisBuild := { +assemblyMergeStrategy in assembly := { case PathList(ps @ _*) if ps.last endsWith "LICENSE" => MergeStrategy.rename case otherFile => - val oldStrategy = (assemblyMergeStrategy in ThisBuild).value + val oldStrategy = (assemblyMergeStrategy in assembly).value oldStrategy(otherFile) }