Skip to content

Commit

Permalink
include trailing slash for versionless keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Jan 29, 2024
1 parent b3ea6cd commit 6cd500a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ abstract class JavadocLinksExtension {
exclude(dep.get())
}

private fun key(dep: ModuleDependency) = dep.group + ':' + dep.name + (dep.version?.let { ":$it" } ?: "")
private fun key(dep: ModuleDependency) = dep.group + ':' + dep.name + ':' + (dep.version ?: "")

fun interface LinkOverride {
fun link(defaultProvider: String, id: ModuleComponentIdentifier): String
Expand Down

0 comments on commit 6cd500a

Please sign in to comment.