Document asSubscriber stage (#28128)

* Unfortunately it seems the jdk9-only tests could not actually be compiled.
With these changes those can actually be compiled and ran again.

* Always link to jdk11 for java.* javadocs

* Update sbt-paradox-akka to fix linking to inner classes for javadoc
This commit is contained in:
Arnout Engelen 2019-12-05 16:40:05 +01:00 committed by GitHub
parent 619a4494d5
commit 25ad10f893
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 195 additions and 13 deletions

View file

@ -102,7 +102,8 @@ lazy val akkaScalaNightly = akkaModule("akka-scala-nightly")
.disablePlugins(ValidatePullRequest, MimaPlugin, CopyrightHeaderInPr)
lazy val benchJmh = akkaModule("akka-bench-jmh")
.dependsOn(Seq(actor, actorTyped, stream, streamTests, persistence, distributedData, jackson, testkit).map(
.enablePlugins(Jdk9)
.dependsOn(Seq(actor, actorTyped, stream, streamTestkit, persistence, distributedData, jackson, testkit).map(
_ % "compile->compile;compile->test"): _*)
.settings(Dependencies.benchJmh)
.settings(javacOptions += "-parameters") // for Jackson
@ -170,6 +171,7 @@ lazy val distributedData = akkaModule("akka-distributed-data")
.enablePlugins(MultiNodeScalaTest)
lazy val docs = akkaModule("akka-docs")
.configs(akka.Jdk9.TestJdk9)
.dependsOn(
actor,
cluster,
@ -180,6 +182,7 @@ lazy val docs = akkaModule("akka-docs")
persistenceQuery,
distributedData,
stream,
stream % "TestJdk9->CompileJdk9",
actorTyped,
clusterTools % "compile->compile;test->test",
clusterSharding % "compile->compile;test->test",
@ -201,7 +204,8 @@ lazy val docs = akkaModule("akka-docs")
NoPublish,
ParadoxBrowse,
ScaladocNoVerificationOfDiagrams,
StreamOperatorsIndexGenerator)
StreamOperatorsIndexGenerator,
Jdk9)
.disablePlugins(MimaPlugin, WhiteSourcePlugin)
.disablePlugins(ScalafixPlugin)
@ -344,9 +348,14 @@ lazy val streamTestkit = akkaModule("akka-stream-testkit")
.disablePlugins(MimaPlugin)
lazy val streamTests = akkaModule("akka-stream-tests")
.dependsOn(streamTestkit % "test->test", remote % "test->test", stream)
.configs(akka.Jdk9.TestJdk9)
.dependsOn(
streamTestkit % "test->test",
remote % "test->test",
stream % "TestJdk9->CompileJdk9"
)
.settings(Dependencies.streamTests)
.enablePlugins(NoPublish)
.enablePlugins(NoPublish, Jdk9)
.disablePlugins(MimaPlugin, WhiteSourcePlugin)
lazy val streamTestsTck = akkaModule("akka-stream-tests-tck")