Skip to content

Commit

Permalink
Add missing input annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Jan 29, 2024
1 parent ec5a926 commit abc4706
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ abstract class JavadocLinksExtension {
}
}

data class Simple(val replacement: String) : LinkOverride {
data class Simple(
@get:Input
val replacement: String
) : LinkOverride {
override fun link(defaultProvider: String, id: ModuleComponentIdentifier): String {
return replacement.replaceVariables(id)
}
Expand Down

0 comments on commit abc4706

Please sign in to comment.