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

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


The following commit(s) were added to refs/heads/1.0.x by this push:
     new 8a59cdfba don't use 'current' for doc links (#808) (#811)
8a59cdfba is described below

commit 8a59cdfba33869b981e6d7288bf3835a707689c5
Author: PJ Fanning <[email protected]>
AuthorDate: Tue Sep 24 19:19:39 2024 +0100

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

diff --git a/build.sbt b/build.sbt
index 85868d698..8180742f3 100644
--- a/build.sbt
+++ b/build.sbt
@@ -363,10 +363,10 @@ 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";,
-      "scaladoc.pekko.base_url" -> 
s"https://pekko.apache.org/api/pekko/${Dependencies.PekkoBinaryVersion}";,
-      "javadoc.pekko.base_url" -> 
s"https://pekko.apache.org/japi/pekko/${Dependencies.PekkoBinaryVersion}/";,
-      "javadoc.pekko.link_style" -> "direct",
+      "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",
       "extref.pekko-http.base_url" -> 
s"https://pekko.apache.org/docs/pekko-http/${Dependencies.PekkoHttpBinaryVersion}/%s";,
       "scaladoc.pekko.http.base_url" -> 
s"https://pekko.apache.org/api/pekko-http/${Dependencies.PekkoHttpBinaryVersion}/";,
       "javadoc.pekko.http.base_url" -> 
s"https://pekko.apache.org/japi/pekko-http/${Dependencies.PekkoHttpBinaryVersion}/";,
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 953c20106..9619855a4 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.15"
 
@@ -33,7 +33,7 @@ object Dependencies {
   val PekkoGrpcBinaryVersion = "1.0"
   val PekkoHttpVersion = PekkoHttpDependency.version
   val PekkoStreamsCirceVersion = "1.1.0"
-  val PekkoHttpBinaryVersion = "1.0"
+  val PekkoHttpBinaryVersion = PekkoHttpDependency.default.link
   val ScalaTestVersion = "3.2.14"
   val TestContainersScalaTestVersion = "0.40.14"
   val mockitoVersion = "4.2.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