Skip to content

Commit

Permalink
Upgrade to Kotlin 1.9.10, Dokka 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Oct 3, 2023
1 parent cd64b82 commit 064f3a6
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 10 deletions.
1 change: 1 addition & 0 deletions aws-runtime/aws-config/api/aws-config.api
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ public final class aws/sdk/kotlin/runtime/config/imds/EndpointMode : java/lang/E
public static final field Companion Laws/sdk/kotlin/runtime/config/imds/EndpointMode$Companion;
public static final field IPv4 Laws/sdk/kotlin/runtime/config/imds/EndpointMode;
public static final field IPv6 Laws/sdk/kotlin/runtime/config/imds/EndpointMode;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Laws/sdk/kotlin/runtime/config/imds/EndpointMode;
public static fun values ()[Laws/sdk/kotlin/runtime/config/imds/EndpointMode;
}
Expand Down
3 changes: 1 addition & 2 deletions aws-runtime/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ description = "AWS client runtime support for generated service clients"

plugins {
id("org.jetbrains.dokka")
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.12.1"
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.13.2"
jacoco
}

val sdkVersion: String by project

val kotestVersion: String by project
val slf4jVersion: String by project

Expand Down
6 changes: 4 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
}

plugins {
kotlin("jvm") version "1.8.22" apply false
kotlin("jvm") version "1.9.10" apply false
id("org.jetbrains.dokka")
}

Expand Down Expand Up @@ -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.moduleName)
}

includes.from(
// NOTE: these get concatenated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -22,4 +24,7 @@ class AwsDokkaPlugin : DokkaPlugin() {
val filterInternalApis by extending {
dokkaBase.preMergeDocumentableTransformer providing ::FilterInternalApis
}

@DokkaPluginApiPreview
override fun pluginApiPreviewAcknowledgement() = PluginApiPreviewAcknowledgement
}
2 changes: 1 addition & 1 deletion examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
plugins {
kotlin("jvm") version "1.8.22"
kotlin("jvm") version "1.9.10"
}

val awsSdkKotlinVersion: String by project
Expand Down
9 changes: 5 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,17 @@ smithyGradleVersion=0.6.0
smithyKotlinVersion=0.27.5

# kotlin
kotlinVersion=1.8.22
dokkaVersion=1.7.10
kotlinVersion=1.9.10
dokkaVersion=1.9.0

# kotlin JVM
kotlinJVMTargetVersion=1.8

# kotlin libraries
coroutinesVersion=1.7.3
atomicFuVersion=0.19.0
kotlinxSerializationVersion=1.4.1
atomicFuVersion=0.22.0
kotlinx.atomicfu.enableJvmIrTransformation=true
kotlinxSerializationVersion=1.6.0
ktorVersion=2.3.3

# testing/utility
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
plugins {
kotlin("jvm") version "1.8.22"
kotlin("jvm") version "1.9.10"
application
id("com.github.johnrengelman.shadow") version "7.0.0"
}
Expand Down

0 comments on commit 064f3a6

Please sign in to comment.