diff --git a/build.gradle.kts b/build.gradle.kts index 76acb35c7010..236a234577cf 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -108,7 +108,9 @@ project.afterEvaluate { // This is especially important for inter-repo linking (e.g., via externalDocumentationLink) because the // package-list doesn't contain enough project path information to indicate where modules' documentation are // located. - fileLayout.set { parent, child -> parent.outputDirectory.get().resolve(child.project.name) } + fileLayout.set { parent, child -> + parent.outputDirectory.dir(child.project.name) + } includes.from( // NOTE: these get concatenated diff --git a/dokka-aws/src/main/kotlin/aws/sdk/kotlin/dokka/AwsDokkaPlugin.kt b/dokka-aws/src/main/kotlin/aws/sdk/kotlin/dokka/AwsDokkaPlugin.kt index b80787bd090e..049787a86eaf 100644 --- a/dokka-aws/src/main/kotlin/aws/sdk/kotlin/dokka/AwsDokkaPlugin.kt +++ b/dokka-aws/src/main/kotlin/aws/sdk/kotlin/dokka/AwsDokkaPlugin.kt @@ -8,6 +8,8 @@ package aws.sdk.kotlin.dokka import aws.sdk.kotlin.dokka.transformers.FilterInternalApis import org.jetbrains.dokka.base.DokkaBase import org.jetbrains.dokka.plugability.DokkaPlugin +import org.jetbrains.dokka.plugability.DokkaPluginApiPreview +import org.jetbrains.dokka.plugability.PluginApiPreviewAcknowledgement /** * Dokka plugin for customizing the AWS Kotlin SDK generated API docs @@ -22,4 +24,7 @@ class AwsDokkaPlugin : DokkaPlugin() { val filterInternalApis by extending { dokkaBase.preMergeDocumentableTransformer providing ::FilterInternalApis } + + @OptIn(DokkaPluginApiPreview::class) + override fun pluginApiPreviewAcknowledgement(): PluginApiPreviewAcknowledgement = PluginApiPreviewAcknowledgement } diff --git a/gradle.properties b/gradle.properties index 337e2997aa25..57cc91ed6b1d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,8 +15,8 @@ smithyGradleVersion=0.6.0 smithyKotlinVersion=0.27.4 # kotlin -kotlinVersion=1.8.22 -dokkaVersion=1.7.10 +kotlinVersion=1.9.0 +dokkaVersion=1.9.0 # kotlin JVM kotlinJVMTargetVersion=1.8