This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 32af42fce don't use 'current' for doc links (#808)
32af42fce is described below

commit 32af42fce72b607f7312261d9deee090987f264b
Author: PJ Fanning <[email protected]>
AuthorDate: Wed Sep 18 13:41:20 2024 +0100

    don't use 'current' for doc links (#808)
    
    * don't use 'current' for doc links
    
    * use sbt-pekko-build support for getting x.y version
---
 build.sbt                  | 2 +-
 project/Dependencies.scala | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.sbt b/build.sbt
index 1fc21229d..8262ad52d 100644
--- a/build.sbt
+++ b/build.sbt
@@ -392,7 +392,7 @@ lazy val docs = project
       "hadoop.version" -> Dependencies.HadoopVersion,
       "extref.github.base_url" -> 
s"https://github.com/apache/pekko-connectors/tree/${if (isSnapshot.value) "main"
         else "v" + version.value}/%s",
-      "extref.pekko.base_url" -> 
s"https://pekko.apache.org/docs/pekko/current/%s";,
+      "extref.pekko.base_url" -> 
s"https://pekko.apache.org/docs/pekko/${Dependencies.PekkoBinaryVersion}/%s";,
       "scaladoc.org.apache.pekko.base_url" -> 
s"https://pekko.apache.org/api/pekko/${Dependencies.PekkoBinaryVersion}";,
       "javadoc.org.apache.pekko.base_url" -> 
s"https://pekko.apache.org/japi/pekko/${Dependencies.PekkoBinaryVersion}/";,
       "javadoc.org.apache.pekko.link_style" -> "direct",
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 943ab546e..b76bbc11f 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -21,7 +21,7 @@ object Dependencies {
   val ScalaVersions = Seq(Scala213, Scala212, Scala3)
 
   val PekkoVersion = PekkoCoreDependency.version
-  val PekkoBinaryVersion = PekkoVersion.take(3)
+  val PekkoBinaryVersion = PekkoCoreDependency.default.link
 
   val InfluxDBJavaVersion = "2.23"
 
@@ -32,7 +32,7 @@ object Dependencies {
   val PekkoGrpcBinaryVersion = "1.1"
   val PekkoHttpVersion = PekkoHttpDependency.version
   val PekkoStreamsCirceVersion = "1.1.0"
-  val PekkoHttpBinaryVersion = "1.0"
+  val PekkoHttpBinaryVersion = PekkoHttpDependency.default.link
   val ScalaTestVersion = "3.2.19"
   val TestContainersScalaTestVersion = "0.41.4"
   val mockitoVersion = "4.11.0" // check even 
https://github.com/scalatest/scalatestplus-mockito/releases


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to