Skip to content

Commit

Permalink
Fix broken API reference links to the Project Reactor Javadoc (#4111)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhalanskyjb authored Apr 25, 2024
1 parent f22b229 commit 2430d9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ lincheck_version=2.18.1
dokka_version=1.9.20
byte_buddy_version=1.10.9
reactor_version=3.4.1
reactor_docs_version=3.4.5
reactive_streams_version=1.0.3
rxjava2_version=2.2.8
rxjava3_version=3.0.2
Expand Down
8 changes: 4 additions & 4 deletions reactive/kotlinx-coroutines-reactor/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ plugins {
id("org.jetbrains.kotlinx.kover")
}

val reactorVersion = version("reactor")

dependencies {
api("io.projectreactor:reactor-core:$reactorVersion")
api("io.projectreactor:reactor-core:${version("reactor")}")
api(project(":kotlinx-coroutines-reactive"))
}

Expand All @@ -27,8 +25,10 @@ tasks {
}
}

// the version of the docs can be different from the version of the Reactor
// library itself: https://github.com/reactor/reactor-core/issues/3794
externalDocumentationLink(
url = "https://projectreactor.io/docs/core/$reactorVersion/api/"
url = "https://projectreactor.io/docs/core/${version("reactor_docs")}/api/"
)


Expand Down

0 comments on commit 2430d9a

Please sign in to comment.