Skip to content

Commit a1e31f4

Browse files
committed
feat: migrate to jreleaser
1 parent a8f6051 commit a1e31f4

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

aws-crt-kotlin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
}
1111

1212
val sdkVersion: String by project
13-
group = properties["publishGroupName"] ?: error("missing publishGroupName")
13+
group = "aws.sdk.kotlin.crt"
1414
version = sdkVersion
1515
description = "Kotlin Multiplatform bindings for AWS SDK Common Runtime"
1616

build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55
import aws.sdk.kotlin.gradle.dsl.configureLinting
6-
import aws.sdk.kotlin.gradle.dsl.configureNexus
6+
import aws.sdk.kotlin.gradle.dsl.configureJReleaser
77
import aws.sdk.kotlin.gradle.util.typedProp
88
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
99

@@ -61,7 +61,7 @@ if (project.typedProp<Boolean>("kotlinWarningsAsErrors") == true) {
6161
}
6262

6363
// Publishing
64-
configureNexus()
64+
configureJReleaser()
6565

6666
// Code Style
6767
val lintPaths = listOf(
@@ -73,3 +73,6 @@ configureLinting(lintPaths)
7373
apiValidation {
7474
ignoredProjects += setOf("elasticurl")
7575
}
76+
77+
// https://github.com/jreleaser/jreleaser/issues/1492
78+
tasks.register("clean") {}

gradle.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ org.gradle.jvmargs=-Xmx2G -XX:MaxMetaspaceSize=1G
66

77
# aws-crt-kotlin
88
sdkVersion=0.9.3-SNAPSHOT
9-
10-
# publishing
11-
publishGroupName=aws.sdk.kotlin.crt

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.1.0"
33

4-
aws-kotlin-repo-tools-version = "0.4.32"
4+
aws-kotlin-repo-tools-version = "0.4.33"
55

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

0 commit comments

Comments
 (0)