From f4195a1439bd9a7f3ba721710112c6ac0048987a Mon Sep 17 00:00:00 2001 From: denis554 Date: Fri, 18 May 2018 19:16:44 +0930 Subject: [PATCH] Update Scala 2.12 to 2.12.6 (#1345) * Update Scala 2.12 to 2.12.6 - Requires updating genjavadoc to 0.11. - This, in turn, requires disabling it in any projects that cross build with Scala 2.10. * Make Unidoc opt in instead of opt out Add it to `RuntimeLibPlugins` so that all of the modules that need it have it enabled automatically. --- bin/test-2.12 | 2 +- bin/test-sbt-1.0 | 2 +- build.sbt | 2 +- .../main/scala/com/lightbend/lagom/sbt/LagomPlugin.scala | 6 +++--- .../cassandra-overrides-default-configs/build.sbt | 2 +- .../sbt-plugin/custom-port-range-for-services/build.sbt | 4 ++-- .../src/sbt-test/sbt-plugin/distribution/build.sbt | 2 +- .../sbt-test/sbt-plugin/external-project-javadsl/build.sbt | 2 +- .../sbt-test/sbt-plugin/external-project-scaladsl/build.sbt | 2 +- .../src/sbt-test/sbt-plugin/http-backend-switch/build.sbt | 2 +- .../src/sbt-test/sbt-plugin/injected-configs/build.sbt | 2 +- .../src/sbt-test/sbt-plugin/run-all-javadsl/build.sbt | 2 +- .../src/sbt-test/sbt-plugin/run-all-scaladsl/build.sbt | 2 +- .../src/sbt-test/sbt-plugin/run-play-on-conf/build.sbt | 2 +- dev/sbt-plugin/src/sbt-test/sbt-plugin/run/build.sbt | 2 +- .../sbt-plugin/services-intra-communication/build.sbt | 2 +- .../com/lightbend/lagom/sbt/scripted/ScriptedTools.scala | 2 +- docs/build.sbt | 2 +- docs/manual/java/guide/build/code/lagom-build.sbt | 2 +- docs/manual/java/guide/build/code/multiple-builds.sbt | 2 +- docs/manual/java/releases/Migration14.md | 2 +- docs/manual/scala/guide/build/code/lagom-build.sbt | 2 +- docs/manual/scala/guide/build/code/multiple-builds.sbt | 2 +- docs/manual/scala/releases/Migration14.md | 2 +- project/Dependencies.scala | 4 ++-- project/Doc.scala | 3 +-- 26 files changed, 30 insertions(+), 31 deletions(-) diff --git a/bin/test-2.12 b/bin/test-2.12 index d608d263..7da8a2f4 100755 --- a/bin/test-2.12 +++ b/bin/test-2.12 @@ -2,4 +2,4 @@ . "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/scriptLib" -runSbtNoisy "+++2.12.4 test" +runSbtNoisy "+++2.12.6 test" diff --git a/bin/test-sbt-1.0 b/bin/test-sbt-1.0 index 955f6af6..df49d48c 100755 --- a/bin/test-sbt-1.0 +++ b/bin/test-sbt-1.0 @@ -2,7 +2,7 @@ . "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/scriptLib" -SCALA_VERSION="2.12.4" +SCALA_VERSION="2.12.6" runSbt +publishLocal runSbtNoisy "++${SCALA_VERSION} scripted" diff --git a/build.sbt b/build.sbt index 24338943..607adedf 100644 --- a/build.sbt +++ b/build.sbt @@ -369,7 +369,7 @@ lazy val root = (project in file(".")) .settings(UnidocRoot.settings(javadslProjects.map(Project.projectToRef), scaladslProjects.map(Project.projectToRef)): _*) .aggregate((javadslProjects ++ scaladslProjects ++ coreProjects ++ otherProjects ++ sbtScriptedProjects).map(Project.projectToRef): _*) -def RuntimeLibPlugins = AutomateHeaderPlugin && Sonatype && PluginsAccessor.exclude(BintrayPlugin) +def RuntimeLibPlugins = AutomateHeaderPlugin && Sonatype && PluginsAccessor.exclude(BintrayPlugin) && Unidoc def SbtPluginPlugins = AutomateHeaderPlugin && BintrayPlugin && PluginsAccessor.exclude(Sonatype) lazy val api = (project in file("service/core/api")) diff --git a/dev/sbt-plugin/src/main/scala/com/lightbend/lagom/sbt/LagomPlugin.scala b/dev/sbt-plugin/src/main/scala/com/lightbend/lagom/sbt/LagomPlugin.scala index 167cd9a5..f14502c9 100644 --- a/dev/sbt-plugin/src/main/scala/com/lightbend/lagom/sbt/LagomPlugin.scala +++ b/dev/sbt-plugin/src/main/scala/com/lightbend/lagom/sbt/LagomPlugin.scala @@ -375,7 +375,7 @@ object LagomPlugin extends AutoPlugin with LagomPluginCompat { .settings(IvyPlugin.projectSettings: _*) .settings(JvmPlugin.projectSettings: _*) .settings( - scalaVersion := "2.12.4", + scalaVersion := "2.12.6", libraryDependencies += LagomImport.component("lagom-service-locator"), lagomServiceLocatorStart in ThisBuild := startServiceLocatorTask.value, lagomServiceLocatorStop in ThisBuild := Servers.ServiceLocator.tryStop(new SbtLoggerProxy(state.value.log)) @@ -387,7 +387,7 @@ object LagomPlugin extends AutoPlugin with LagomPluginCompat { .settings(IvyPlugin.projectSettings: _*) .settings(JvmPlugin.projectSettings: _*) .settings( - scalaVersion := "2.12.4", + scalaVersion := "2.12.6", libraryDependencies += LagomImport.component("lagom-cassandra-server"), lagomCassandraStart in ThisBuild := startCassandraServerTask.value, lagomCassandraStop in ThisBuild := Servers.CassandraServer.tryStop(new SbtLoggerProxy(state.value.log)) @@ -399,7 +399,7 @@ object LagomPlugin extends AutoPlugin with LagomPluginCompat { .settings(IvyPlugin.projectSettings: _*) .settings(JvmPlugin.projectSettings: _*) .settings( - scalaVersion := "2.12.4", + scalaVersion := "2.12.6", libraryDependencies += LagomImport.component("lagom-kafka-server"), lagomKafkaStart in ThisBuild := startKafkaServerTask.value, lagomKafkaStop in ThisBuild := Servers.KafkaServer.tryStop(new SbtLoggerProxy(state.value.log)) diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/cassandra-overrides-default-configs/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/cassandra-overrides-default-configs/build.sbt index 5a3225f0..1dc0a573 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/cassandra-overrides-default-configs/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/cassandra-overrides-default-configs/build.sbt @@ -5,7 +5,7 @@ lazy val `my-project` = (project in file(".")).enablePlugins(LagomJava) libraryDependencies ++= Seq(lagomJavadslPersistenceCassandra, lagomSbtScriptedLibrary) ) -scalaVersion := sys.props.get("scala.version").getOrElse("2.12.4") +scalaVersion := sys.props.get("scala.version").getOrElse("2.12.6") interactionMode := com.lightbend.lagom.sbt.NonBlockingInteractionMode diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/custom-port-range-for-services/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/custom-port-range-for-services/build.sbt index 3b17e207..05263964 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/custom-port-range-for-services/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/custom-port-range-for-services/build.sbt @@ -7,13 +7,13 @@ lagomServicesPortRange in ThisBuild := PortRange(10000, 10001) lazy val a = (project in file("a")).enablePlugins(LagomJava) .settings(Seq( sourceDirectory := baseDirectory.value / "src-a", - scalaVersion := sys.props.get("scala.version").getOrElse("2.12.4") + scalaVersion := sys.props.get("scala.version").getOrElse("2.12.6") )) lazy val b = (project in file("b")).enablePlugins(LagomJava) .settings(Seq( sourceDirectory := baseDirectory.value / "src-b", - scalaVersion := sys.props.get("scala.version").getOrElse("2.12.4") + scalaVersion := sys.props.get("scala.version").getOrElse("2.12.6") )) InputKey[Unit]("verifyPortProjA") := { diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/distribution/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/distribution/build.sbt index e1c2d2ac..ed4c31eb 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/distribution/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/distribution/build.sbt @@ -1,7 +1,7 @@ import com.lightbend.lagom.sbt.Internal.Keys.interactionMode import com.lightbend.lagom.sbt.Internal -scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.4") +scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.6") interactionMode in ThisBuild := com.lightbend.lagom.sbt.NonBlockingInteractionMode diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/external-project-javadsl/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/external-project-javadsl/build.sbt index 1b50b572..9ee335d2 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/external-project-javadsl/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/external-project-javadsl/build.sbt @@ -1,6 +1,6 @@ import play.sbt.PlayImport -scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.4") +scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.6") lagomCassandraEnabled in ThisBuild := false lagomKafkaEnabled in ThisBuild := false diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/external-project-scaladsl/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/external-project-scaladsl/build.sbt index 4e86e2de..20edf5b1 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/external-project-scaladsl/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/external-project-scaladsl/build.sbt @@ -1,6 +1,6 @@ import play.sbt.PlayImport -scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.4") +scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.6") lagomCassandraEnabled in ThisBuild := false lagomKafkaEnabled in ThisBuild := false diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/http-backend-switch/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/http-backend-switch/build.sbt index 4b09cd7c..e864cfbb 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/http-backend-switch/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/http-backend-switch/build.sbt @@ -2,7 +2,7 @@ organization in ThisBuild := "com.example" version in ThisBuild := "1.0-SNAPSHOT" // the Scala version that will be used for cross-compiled libraries -scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.4") +scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.6") lazy val `server-backend-switch` = (project in file(".")) .aggregate( diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/injected-configs/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/injected-configs/build.sbt index b593fe55..13899a05 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/injected-configs/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/injected-configs/build.sbt @@ -3,7 +3,7 @@ import com.lightbend.lagom.sbt.Internal.Keys.interactionMode lazy val `my-project` = (project in file(".")).enablePlugins(LagomJava) .settings(libraryDependencies ++= Seq(lagomJavadslPersistenceCassandra, lagomSbtScriptedLibrary)) -scalaVersion := sys.props.get("scala.version").getOrElse("2.12.4") +scalaVersion := sys.props.get("scala.version").getOrElse("2.12.6") interactionMode := com.lightbend.lagom.sbt.NonBlockingInteractionMode diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-all-javadsl/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-all-javadsl/build.sbt index 0eec8271..06a957bf 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-all-javadsl/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-all-javadsl/build.sbt @@ -2,7 +2,7 @@ import com.lightbend.lagom.sbt.Internal.Keys.interactionMode interactionMode in ThisBuild := com.lightbend.lagom.sbt.NonBlockingInteractionMode -scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.4") +scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.6") lazy val `a-api` = (project in file("a") / "api") .settings( diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-all-scaladsl/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-all-scaladsl/build.sbt index 11535555..2343fe21 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-all-scaladsl/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-all-scaladsl/build.sbt @@ -2,7 +2,7 @@ import com.lightbend.lagom.sbt.Internal.Keys.interactionMode interactionMode in ThisBuild := com.lightbend.lagom.sbt.NonBlockingInteractionMode -scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.4") +scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.6") val macwire = "com.softwaremill.macwire" %% "macros" % "2.2.5" % "provided" diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-play-on-conf/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-play-on-conf/build.sbt index 57e7441d..001f384e 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-play-on-conf/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/run-play-on-conf/build.sbt @@ -2,7 +2,7 @@ import com.lightbend.lagom.sbt.Internal.Keys.interactionMode interactionMode in ThisBuild := com.lightbend.lagom.sbt.NonBlockingInteractionMode -scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.4") +scalaVersion in ThisBuild := sys.props.get("scala.version").getOrElse("2.12.6") lazy val p = (project in file("p")).enablePlugins(PlayJava && LagomPlay) .settings( diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/run/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/run/build.sbt index d17ce596..47db3fb4 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/run/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/run/build.sbt @@ -2,7 +2,7 @@ import com.lightbend.lagom.sbt.Internal.Keys.interactionMode lazy val root = (project in file(".")).enablePlugins(LagomJava) -scalaVersion := sys.props.get("scala.version").getOrElse("2.12.4") +scalaVersion := sys.props.get("scala.version").getOrElse("2.12.6") interactionMode in ThisBuild := com.lightbend.lagom.sbt.NonBlockingInteractionMode diff --git a/dev/sbt-plugin/src/sbt-test/sbt-plugin/services-intra-communication/build.sbt b/dev/sbt-plugin/src/sbt-test/sbt-plugin/services-intra-communication/build.sbt index 7ae5dd47..4aba8750 100644 --- a/dev/sbt-plugin/src/sbt-test/sbt-plugin/services-intra-communication/build.sbt +++ b/dev/sbt-plugin/src/sbt-test/sbt-plugin/services-intra-communication/build.sbt @@ -3,7 +3,7 @@ import com.lightbend.lagom.sbt.Internal.Keys.interactionMode interactionMode in ThisBuild := com.lightbend.lagom.sbt.NonBlockingInteractionMode lazy val commonSettings = Seq( - scalaVersion := sys.props.get("scala.version").getOrElse("2.12.4") + scalaVersion := sys.props.get("scala.version").getOrElse("2.12.6") ) lazy val fooApi = (project in file("foo/api")) diff --git a/dev/sbt-scripted-tools/src/main/scala/com/lightbend/lagom/sbt/scripted/ScriptedTools.scala b/dev/sbt-scripted-tools/src/main/scala/com/lightbend/lagom/sbt/scripted/ScriptedTools.scala index f7aa0ed9..37e1ed24 100644 --- a/dev/sbt-scripted-tools/src/main/scala/com/lightbend/lagom/sbt/scripted/ScriptedTools.scala +++ b/dev/sbt-scripted-tools/src/main/scala/com/lightbend/lagom/sbt/scripted/ScriptedTools.scala @@ -107,7 +107,7 @@ object ScriptedTools extends AutoPlugin { ) override def projectSettings: Seq[Setting[_]] = Seq( - scalaVersion := sys.props.get("scala.version").getOrElse("2.12.4") + scalaVersion := sys.props.get("scala.version").getOrElse("2.12.6") ) private def repeatUntilSuccessful[T](log: Logger, operation: => T, times: Int = 10): T = { diff --git a/docs/build.sbt b/docs/build.sbt index c20fc779..23c4eda3 100644 --- a/docs/build.sbt +++ b/docs/build.sbt @@ -1,4 +1,4 @@ -val ScalaVersion = "2.12.4" +val ScalaVersion = "2.12.6" val AkkaVersion = "2.5.12" val JUnitVersion = "4.11" diff --git a/docs/manual/java/guide/build/code/lagom-build.sbt b/docs/manual/java/guide/build/code/lagom-build.sbt index f226b8ad..346e0923 100644 --- a/docs/manual/java/guide/build/code/lagom-build.sbt +++ b/docs/manual/java/guide/build/code/lagom-build.sbt @@ -3,7 +3,7 @@ addSbtPlugin("com.lightbend.lagom" % "lagom-sbt-plugin" % "X.Y.Z") // replace 'X //#add-sbt-plugin //#scala-version -scalaVersion in ThisBuild := "2.12.4" +scalaVersion in ThisBuild := "2.12.6" //#scala-version //#hello-api diff --git a/docs/manual/java/guide/build/code/multiple-builds.sbt b/docs/manual/java/guide/build/code/multiple-builds.sbt index 0df54f2e..9e0c0eb7 100644 --- a/docs/manual/java/guide/build/code/multiple-builds.sbt +++ b/docs/manual/java/guide/build/code/multiple-builds.sbt @@ -12,7 +12,7 @@ bintrayOmitLicense in ThisBuild := false //#hello-build organization in ThisBuild := "com.example" -scalaVersion in ThisBuild := "2.12.4" +scalaVersion in ThisBuild := "2.12.6" lazy val `hello-api` = (project in file("hello-api")) .settings(version := "1.0") diff --git a/docs/manual/java/releases/Migration14.md b/docs/manual/java/releases/Migration14.md index f320b7a6..e199e4b2 100644 --- a/docs/manual/java/releases/Migration14.md +++ b/docs/manual/java/releases/Migration14.md @@ -59,7 +59,7 @@ and use it when declaring dependencies, for example: The Scala version can be updated by editing the `build.sbt` file, and updating the `scalaVersion` settings, for example: ```scala -scalaVersion in ThisBuild := "2.12.4" +scalaVersion in ThisBuild := "2.12.6" ``` ## Akka HTTP as the default server engine diff --git a/docs/manual/scala/guide/build/code/lagom-build.sbt b/docs/manual/scala/guide/build/code/lagom-build.sbt index acc45441..4e7f1ff7 100644 --- a/docs/manual/scala/guide/build/code/lagom-build.sbt +++ b/docs/manual/scala/guide/build/code/lagom-build.sbt @@ -4,7 +4,7 @@ addSbtPlugin("com.lightbend.lagom" % "lagom-sbt-plugin" % "X.Y.Z") //#add-sbt-plugin //#scala-version -scalaVersion in ThisBuild := "2.12.4" +scalaVersion in ThisBuild := "2.12.6" //#scala-version //#hello-api diff --git a/docs/manual/scala/guide/build/code/multiple-builds.sbt b/docs/manual/scala/guide/build/code/multiple-builds.sbt index 48f30761..c6d518f6 100644 --- a/docs/manual/scala/guide/build/code/multiple-builds.sbt +++ b/docs/manual/scala/guide/build/code/multiple-builds.sbt @@ -12,7 +12,7 @@ bintrayOmitLicense in ThisBuild := false //#hello-build organization in ThisBuild := "com.example" -scalaVersion in ThisBuild := "2.12.4" +scalaVersion in ThisBuild := "2.12.6" lazy val `hello-api` = (project in file("hello-api")) .settings(version := "1.0") diff --git a/docs/manual/scala/releases/Migration14.md b/docs/manual/scala/releases/Migration14.md index 7dae7189..f6a890fb 100644 --- a/docs/manual/scala/releases/Migration14.md +++ b/docs/manual/scala/releases/Migration14.md @@ -30,7 +30,7 @@ Lagom is now cross compiled to Scala 2.11 and 2.12. It's recommended to upgrade The Scala version can be updated by editing the `build.sbt` file, and updating the `scalaVersion` settings, for example: ```scala -scalaVersion in ThisBuild := "2.12.4" +scalaVersion in ThisBuild := "2.12.6" ``` diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 20010cf2..c1fcf4c4 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -17,8 +17,8 @@ object Dependencies { val AkkaVersion = "2.5.12" val AkkaHttpVersion = "10.0.13" // Also be sure to update ScalaVersion in docs/build.sbt. - val ScalaVersions = Seq("2.12.4", "2.11.12") - val SbtScalaVersions = Seq("2.10.6", "2.12.4") + val ScalaVersions = Seq("2.12.6", "2.11.12") + val SbtScalaVersions = Seq("2.10.6", "2.12.6") val AkkaPersistenceCassandraVersion = "0.60" val AkkaPersistenceJdbcVersion = "3.3.0" // Also be sure to update ScalaTestVersion in docs/build.sbt. diff --git a/project/Doc.scala b/project/Doc.scala index 8a19ea83..fb3230c8 100644 --- a/project/Doc.scala +++ b/project/Doc.scala @@ -157,7 +157,6 @@ object Unidoc extends AutoPlugin { lazy val GenjavadocCompilerPlugin = config("genjavadocplugin") hide - override def trigger = allRequirements override def requires = plugins.JvmPlugin override def projectConfigurations: Seq[Configuration] = Seq(Genjavadoc) @@ -168,7 +167,7 @@ object Unidoc extends AutoPlugin { // down to two assuming https://github.com/typesafehub/genjavadoc/issues/66 is possible. override lazy val projectSettings = inConfig(Genjavadoc)(Defaults.configSettings) ++ Seq( ivyConfigurations += GenjavadocCompilerPlugin, - libraryDependencies += "com.typesafe.genjavadoc" % "genjavadoc-plugin" % "0.10" % "genjavadocplugin->default(compile)" cross CrossVersion.full, + libraryDependencies += "com.typesafe.genjavadoc" % "genjavadoc-plugin" % "0.11" % "genjavadocplugin->default(compile)" cross CrossVersion.full, scalacOptions in Genjavadoc ++= Seq( "-P:genjavadoc:out=" + (target.value / "java"), "-P:genjavadoc:fabricateParams=false"