From aa873edc18eb4e91c455e34d613035f7069f00d2 Mon Sep 17 00:00:00 2001 From: Andrzej Ludwikowski Date: Mon, 31 Jul 2023 13:56:00 +0300 Subject: [PATCH] docs: add repository info (#47) --- docs/src/main/paradox/config-checker.md | 10 ++++++++++ docs/src/main/paradox/starvation-detector.md | 10 ++++++++++ project/plugins.sbt | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/src/main/paradox/config-checker.md b/docs/src/main/paradox/config-checker.md index 312c3c7..25a8835 100644 --- a/docs/src/main/paradox/config-checker.md +++ b/docs/src/main/paradox/config-checker.md @@ -23,6 +23,16 @@ adjustment is needed. To use the Configuration Checker feature a dependency on the *akka-diagnostics* artifact must be added. +The Akka dependencies are available from Akka's library repository. To access them there, you need to configure the URL for this repository. + +@@repository [Maven,sbt,Gradle] { +id="akka-repository" +name="Akka library repository" +url="https://repo.akka.io/maven" +} + +Additionally, add the dependency as below. + @@dependency [Maven,sbt,Gradle] { group=com.lightbend.akka artifact=akka-diagnostics_$scala.binary.version$ diff --git a/docs/src/main/paradox/starvation-detector.md b/docs/src/main/paradox/starvation-detector.md index 300e001..3163456 100644 --- a/docs/src/main/paradox/starvation-detector.md +++ b/docs/src/main/paradox/starvation-detector.md @@ -22,6 +22,16 @@ dispatcher are busy with. To use the Starvation Detector feature a dependency on the *akka-diagnostics* artifact must be added. +The Akka dependencies are available from Akka's library repository. To access them there, you need to configure the URL for this repository. + +@@repository [Maven,sbt,Gradle] { +id="akka-repository" +name="Akka library repository" +url="https://repo.akka.io/maven" +} + +Additionally, add the dependency as below. + @@dependency [Maven,sbt,Gradle] { group=com.lightbend.akka artifact=akka-diagnostics_$scala.binary.version$ diff --git a/project/plugins.sbt b/project/plugins.sbt index 02e7ab3..2bd24df 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -2,7 +2,7 @@ addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.7.0") addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.3") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-dependencies" % "0.2.2") -addSbtPlugin("com.lightbend.akka" % "sbt-paradox-akka" % "0.49") +addSbtPlugin("com.lightbend.akka" % "sbt-paradox-akka" % "0.51") addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1") addSbtPlugin("com.lightbend.sbt" % "sbt-publish-rsync" % "0.2") addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.7.0")