More tweaking the build to make it work
This commit is contained in:
parent
dc882ee077
commit
3a6040ff64
1 changed files with 4 additions and 2 deletions
|
|
@ -46,6 +46,7 @@ lazy val aggregatedProjects: Seq[ProjectReference] = Seq(
|
||||||
actorTyped, actorTypedTests, actorTestkitTyped,
|
actorTyped, actorTypedTests, actorTestkitTyped,
|
||||||
persistenceTyped,
|
persistenceTyped,
|
||||||
clusterTyped, clusterShardingTyped,
|
clusterTyped, clusterShardingTyped,
|
||||||
|
benchJmhTyped,
|
||||||
streamTyped,
|
streamTyped,
|
||||||
discovery
|
discovery
|
||||||
)
|
)
|
||||||
|
|
@ -58,7 +59,7 @@ lazy val root = Project(
|
||||||
.settings(unidocRootIgnoreProjects :=
|
.settings(unidocRootIgnoreProjects :=
|
||||||
(CrossVersion.partialVersion(scalaVersion.value) match {
|
(CrossVersion.partialVersion(scalaVersion.value) match {
|
||||||
case Some((2, n)) if n == 11 ⇒ aggregatedProjects // ignore all, don't unidoc when scalaVersion is 2.11
|
case Some((2, n)) if n == 11 ⇒ aggregatedProjects // ignore all, don't unidoc when scalaVersion is 2.11
|
||||||
case _ ⇒ Seq(remoteTests, benchJmh, protobuf, akkaScalaNightly, docs)
|
case _ ⇒ Seq(remoteTests, benchJmh, benchJmhTyped, protobuf, akkaScalaNightly, docs)
|
||||||
}),
|
}),
|
||||||
crossScalaVersions := Nil, // Allows some modules (typed) to be only for 2.12 sbt/sbt#3465
|
crossScalaVersions := Nil, // Allows some modules (typed) to be only for 2.12 sbt/sbt#3465
|
||||||
)
|
)
|
||||||
|
|
@ -111,12 +112,13 @@ lazy val benchJmh = akkaModule("akka-bench-jmh")
|
||||||
.enablePlugins(JmhPlugin, ScaladocNoVerificationOfDiagrams, NoPublish, CopyrightHeader)
|
.enablePlugins(JmhPlugin, ScaladocNoVerificationOfDiagrams, NoPublish, CopyrightHeader)
|
||||||
.disablePlugins(MimaPlugin, WhiteSourcePlugin, ValidatePullRequest, CopyrightHeaderInPr)
|
.disablePlugins(MimaPlugin, WhiteSourcePlugin, ValidatePullRequest, CopyrightHeaderInPr)
|
||||||
|
|
||||||
|
// typed benchmarks only on 2.12+
|
||||||
lazy val benchJmhTyped = akkaModule("akka-bench-jmh-typed")
|
lazy val benchJmhTyped = akkaModule("akka-bench-jmh-typed")
|
||||||
.dependsOn(
|
.dependsOn(
|
||||||
Seq(
|
Seq(
|
||||||
persistenceTyped,
|
persistenceTyped,
|
||||||
distributedData, clusterTyped,
|
distributedData, clusterTyped,
|
||||||
testkit
|
testkit, benchJmh
|
||||||
).map(_ % "compile->compile;compile->test"): _*
|
).map(_ % "compile->compile;compile->test"): _*
|
||||||
)
|
)
|
||||||
.settings(Dependencies.benchJmh)
|
.settings(Dependencies.benchJmh)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue