add dependency to akka-slf4j from akka-actor-typed

* it was intended to automatically use Slf4jLogger in akka-slf4j
  when akka-actor-typed is used
* otherwise it would be confusing to have some Akka logging directly
  to slf4j and some to Akka stdout logging, if akka-slf4j is not
  added
This commit is contained in:
Patrik Nordwall 2019-11-05 19:34:03 +01:00
parent c74e9720f3
commit 0fad044fcf

View file

@ -75,8 +75,7 @@ lazy val aggregatedProjects: Seq[ProjectReference] = List[ProjectReference](
lazy val root = Project(id = "akka", base = file("."))
.aggregate(aggregatedProjects: _*)
.settings(rootSettings: _*)
.settings(
unidocRootIgnoreProjects := Seq(remoteTests, benchJmh, protobuf, protobufV3, akkaScalaNightly, docs))
.settings(unidocRootIgnoreProjects := Seq(remoteTests, benchJmh, protobuf, protobufV3, akkaScalaNightly, docs))
.settings(unmanagedSources in (Compile, headerCreate) := (baseDirectory.value / "project").**("*.scala").get)
.enablePlugins(CopyrightHeaderForBuild)
@ -371,8 +370,8 @@ lazy val testkit = akkaModule("akka-testkit")
.settings(initialCommands += "import akka.testkit._")
lazy val actorTyped = akkaModule("akka-actor-typed")
.dependsOn(actor)
.settings(AutomaticModuleName.settings("akka.actor.typed")) // fine for now, eventually new module name to become typed.actor
.dependsOn(actor, slf4j)
.settings(AutomaticModuleName.settings("akka.actor.typed"))
.settings(Dependencies.actorTyped)
.settings(OSGi.actorTyped)
.settings(initialCommands :=