Skip to content

Commit a123b85

Browse files
authored
misc: upgrade to latest version of aws-kotlin-repo-tools (#1661)
1 parent 75351b9 commit a123b85

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

aws-runtime/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
* SPDX-License-Identifier: Apache-2.0
44
*/
5-
import aws.sdk.kotlin.gradle.dsl.configurePublishing
5+
import aws.sdk.kotlin.gradle.dsl.configureNexusPublishing
66
import aws.sdk.kotlin.gradle.kmp.kotlin
77
import aws.sdk.kotlin.gradle.kmp.needsKmpConfigured
88
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -32,7 +32,8 @@ subprojects {
3232
plugin(libraries.plugins.aws.kotlin.repo.tools.kmp.get().pluginId)
3333
}
3434

35-
configurePublishing("aws-sdk-kotlin")
35+
// TODO Use configurePublishing when migrating to Sonatype Publisher API / JReleaser
36+
configureNexusPublishing("aws-sdk-kotlin")
3637

3738
kotlin {
3839
explicitApi()

bom/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
* SPDX-License-Identifier: Apache-2.0
44
*/
5-
import aws.sdk.kotlin.gradle.dsl.configurePublishing
5+
import aws.sdk.kotlin.gradle.dsl.configureNexusPublishing
66
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
77
import org.jetbrains.kotlin.gradle.plugin.KotlinMultiplatformPluginWrapper
88
import org.jetbrains.kotlin.gradle.plugin.KotlinTarget
@@ -98,7 +98,8 @@ fun DependencyConstraintHandler.api(constraintNotation: Any) =
9898

9999
createBomConstraintsAndVersionCatalog()
100100

101-
configurePublishing("aws-sdk-kotlin")
101+
// TODO Use configurePublishing when migrating to Sonatype Publisher API / JReleaser
102+
configureNexusPublishing("aws-sdk-kotlin")
102103

103104
publishing {
104105
publications {

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ksp-version = "2.2.0-2.0.2" # Keep in sync with kotlin-version
44

55
dokka-version = "2.0.0"
66

7-
aws-kotlin-repo-tools-version = "0.4.32"
7+
aws-kotlin-repo-tools-version = "0.4.36"
88

99
# libs
1010
coroutines-version = "1.10.2"

hll/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
import aws.sdk.kotlin.gradle.dsl.configurePublishing
6+
import aws.sdk.kotlin.gradle.dsl.configureNexusPublishing
77
import aws.sdk.kotlin.gradle.kmp.kotlin
88
import aws.sdk.kotlin.gradle.kmp.needsKmpConfigured
99
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -46,7 +46,8 @@ val hllPreviewVersion = if (sdkVersion.contains("-SNAPSHOT")) { // e.g. 1.3.29-b
4646
subprojects {
4747
group = "aws.sdk.kotlin"
4848
version = hllPreviewVersion
49-
configurePublishing("aws-sdk-kotlin")
49+
// TODO Use configurePublishing when migrating to Sonatype Publisher API / JReleaser
50+
configureNexusPublishing("aws-sdk-kotlin")
5051
}
5152

5253
subprojects {

services/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
* SPDX-License-Identifier: Apache-2.0
44
*/
5-
import aws.sdk.kotlin.gradle.dsl.configurePublishing
5+
import aws.sdk.kotlin.gradle.dsl.configureNexusPublishing
66
import aws.sdk.kotlin.gradle.kmp.*
77
import aws.sdk.kotlin.gradle.util.typedProp
88
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -135,7 +135,9 @@ subprojects {
135135
}
136136
}
137137

138-
configurePublishing("aws-sdk-kotlin")
138+
// TODO Use configurePublishing when migrating to Sonatype Publisher API / JReleaser
139+
configureNexusPublishing("aws-sdk-kotlin")
140+
139141
publishing {
140142
publications.all {
141143
if (this !is MavenPublication) return@all

0 commit comments

Comments
 (0)