Improve akka-actor-typed initialCommands

This commit is contained in:
Matthew de Detrich 2023-01-04 10:48:08 +01:00 committed by Matthew de Detrich
parent bb90185dcb
commit b92b749946

View file

@ -466,12 +466,17 @@ lazy val actorTyped = akkaModule("akka-actor-typed")
.settings(OSGi.actorTyped) .settings(OSGi.actorTyped)
.settings(initialCommands := .settings(initialCommands :=
""" """
import org.apache.pekko.actor.typed._ import org.apache.pekko
import org.apache.pekko.actor.typed.scaladsl.Behaviors
import pekko.actor.typed._
import pekko.actor.typed.scaladsl.Behaviors
import pekko.util.Timeout
import scala.concurrent._ import scala.concurrent._
import scala.concurrent.duration._ import scala.concurrent.duration._
import org.apache.pekko.util.Timeout import scala.language.postfixOps
implicit val timeout = Timeout(5.seconds)
implicit val timeout = Timeout(5 seconds)
""") """)
.enablePlugins(Jdk9) .enablePlugins(Jdk9)