Skip to content

Commit 9f2e37c

Browse files
authored
misc: register Sonatype publishing tasks (#208)
1 parent 55640b1 commit 9f2e37c

File tree

3 files changed

+5
-21
lines changed

3 files changed

+5
-21
lines changed

.github/workflows/jreleaser.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

build.gradle.kts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
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.configureJReleaser
65
import aws.sdk.kotlin.gradle.dsl.configureLinting
6+
import aws.sdk.kotlin.gradle.publishing.SonatypeCentralPortalPublishTask
7+
import aws.sdk.kotlin.gradle.publishing.SonatypeCentralPortalWaitForPublicationTask
78
import aws.sdk.kotlin.gradle.util.typedProp
89
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
910

@@ -62,7 +63,8 @@ if (project.typedProp<Boolean>("kotlinWarningsAsErrors") == true) {
6263
}
6364

6465
// Publishing
65-
configureJReleaser()
66+
tasks.register<SonatypeCentralPortalPublishTask>("publishToCentralPortal") { }
67+
tasks.register<SonatypeCentralPortalWaitForPublicationTask>("waitForCentralPortalPublication") { }
6668

6769
// Code Style
6870
val lintPaths = listOf(
@@ -71,6 +73,3 @@ val lintPaths = listOf(
7173
)
7274

7375
configureLinting(lintPaths)
74-
75-
// https://github.com/jreleaser/jreleaser/issues/1492
76-
tasks.register("clean") {}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
kotlin-version = "2.2.0"
33

4-
aws-kotlin-repo-tools-version = "0.4.57"
4+
aws-kotlin-repo-tools-version = "0.4.65"
55

66
# libs
77
crt-java-version = "0.38.1"

0 commit comments

Comments
 (0)