Fixes intermittent "Could not create directory" issue (#28056)
This commit is contained in:
parent
294b8d9be0
commit
f3d02b3c27
1 changed files with 10 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ import java.time.format.DateTimeFormatter
|
||||||
import java.time.ZonedDateTime
|
import java.time.ZonedDateTime
|
||||||
import java.time.ZoneOffset
|
import java.time.ZoneOffset
|
||||||
import com.lightbend.paradox.projectinfo.ParadoxProjectInfoPluginKeys._
|
import com.lightbend.paradox.projectinfo.ParadoxProjectInfoPluginKeys._
|
||||||
|
import com.typesafe.sbt.MultiJvmPlugin.autoImport.MultiJvm
|
||||||
|
import sbtassembly.AssemblyPlugin.autoImport._
|
||||||
|
|
||||||
import sbt.Keys._
|
import sbt.Keys._
|
||||||
import sbt._
|
import sbt._
|
||||||
|
|
@ -251,6 +253,14 @@ object AkkaBuild {
|
||||||
mavenLocalResolverSettings,
|
mavenLocalResolverSettings,
|
||||||
docLintingSettings,
|
docLintingSettings,
|
||||||
JdkOptions.targetJdkSettings,
|
JdkOptions.targetJdkSettings,
|
||||||
|
|
||||||
|
// a workaround for https://github.com/akka/akka/issues/27661
|
||||||
|
// see also project/Protobuf.scala that introduces /../ to make "intellij happy"
|
||||||
|
MultiJvm / assembly / fullClasspath := {
|
||||||
|
val old = (MultiJvm / assembly / fullClasspath).value.toVector
|
||||||
|
val files = old.map(_.data.getCanonicalFile).distinct
|
||||||
|
files map { x => Attributed.blank(x) }
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
lazy val docLintingSettings = Seq(
|
lazy val docLintingSettings = Seq(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue