File tree Expand file tree Collapse file tree 5 files changed +14
-9
lines changed Expand file tree Collapse file tree 5 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 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
66import aws.sdk.kotlin.gradle.kmp.kotlin
77import aws.sdk.kotlin.gradle.kmp.needsKmpConfigured
88import 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()
Original file line number Diff line number Diff line change 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
66import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
77import org.jetbrains.kotlin.gradle.plugin.KotlinMultiplatformPluginWrapper
88import org.jetbrains.kotlin.gradle.plugin.KotlinTarget
@@ -98,7 +98,8 @@ fun DependencyConstraintHandler.api(constraintNotation: Any) =
9898
9999createBomConstraintsAndVersionCatalog()
100100
101- configurePublishing(" aws-sdk-kotlin" )
101+ // TODO Use configurePublishing when migrating to Sonatype Publisher API / JReleaser
102+ configureNexusPublishing(" aws-sdk-kotlin" )
102103
103104publishing {
104105 publications {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ksp-version = "2.2.0-2.0.2" # Keep in sync with kotlin-version
44
55dokka-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
1010coroutines-version = " 1.10.2"
Original file line number Diff line number Diff line change 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
77import aws.sdk.kotlin.gradle.kmp.kotlin
88import aws.sdk.kotlin.gradle.kmp.needsKmpConfigured
99import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@@ -46,7 +46,8 @@ val hllPreviewVersion = if (sdkVersion.contains("-SNAPSHOT")) { // e.g. 1.3.29-b
4646subprojects {
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
5253subprojects {
Original file line number Diff line number Diff line change 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
66import aws.sdk.kotlin.gradle.kmp.*
77import aws.sdk.kotlin.gradle.util.typedProp
88import 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
You can’t perform that action at this time.
0 commit comments