Improve akka-actor-typed initialCommands
This commit is contained in:
parent
bb90185dcb
commit
b92b749946
1 changed files with 9 additions and 4 deletions
13
build.sbt
13
build.sbt
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue