Skip to content

Commit 3f57e07

Browse files
authored
feat: migrate to jreleaser (#164)
1 parent 108723d commit 3f57e07

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
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,11 +61,14 @@ if (project.typedProp<Boolean>("kotlinWarningsAsErrors") == true) {
6161
}
6262

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

6666
// Code Style
6767
val lintPaths = listOf(
6868
"**/*.{kt,kts}",
6969
)
7070

7171
configureLinting(lintPaths)
72+
73+
// https://github.com/jreleaser/jreleaser/issues/1492
74+
tasks.register("clean") {}

gradle.properties

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,4 @@ kotlin.mpp.stability.nowarn=true
55
org.gradle.jvmargs=-Xmx2G -XX:MaxMetaspaceSize=1G
66

77
# aws-crt-kotlin
8-
sdkVersion=0.10.1-SNAPSHOT
9-
10-
# publishing
11-
publishGroupName=aws.sdk.kotlin.crt
8+
sdkVersion=0.10.1-SNAPSHOT

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.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)