File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- import gradle.kotlin.dsl.accessors._619b2d94f14c1ac9ec487bdd1e99f33b.dokkaSourceSets
21import kotlin.text.set
32
43plugins {
@@ -39,11 +38,13 @@ dokka {
3938 }
4039 }
4140
42- // Configure Dokka to link to latest smithy-kotlin types
41+ // Configure Dokka to link to smithy-kotlin types
4342 dokkaSourceSets.configureEach {
4443 externalDocumentationLinks {
45- // FIXME Get current smithy-kotlin-runtime-version without using version catalogs (not accessible from convention plugin)
46- uri(" https://sdk.amazonaws.com/kotlin/api/smithy-kotlin/api/latest/" )
44+ create(" smithy-kotlin" ) {
45+ val smithyKotlinRuntimeVersion = versionCatalogs.named(" libs" ).findVersion(" smithy-kotlin-runtime-version" ).get()
46+ url(" https://sdk.amazonaws.com/kotlin/api/smithy-kotlin/api/$smithyKotlinRuntimeVersion " )
47+ }
4748 }
4849 }
4950}
You can’t perform that action at this time.
0 commit comments