Skip to content

Commit 38a7bb4

Browse files
authored
feat: migrate to jreleaser (#1646)
1 parent 4639b8f commit 38a7bb4

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

build.gradle.kts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
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
56
import aws.sdk.kotlin.gradle.dsl.configureLinting
6-
import aws.sdk.kotlin.gradle.dsl.configureNexus
77
import aws.sdk.kotlin.gradle.util.typedProp
88

99
buildscript {
@@ -13,6 +13,12 @@ buildscript {
1313
classpath(libs.kotlinx.atomicfu.plugin)
1414
// Add our custom gradle build logic to buildscript classpath
1515
classpath(libs.aws.kotlin.repo.tools.build.support)
16+
/*
17+
Enforce jackson to a version supported both by dokka and jreleaser:
18+
https://github.com/Kotlin/dokka/issues/3472#issuecomment-1929712374
19+
https://github.com/Kotlin/dokka/issues/3194#issuecomment-1929382630
20+
*/
21+
classpath(enforcedPlatform("com.fasterxml.jackson:jackson-bom:2.15.3"))
1622
}
1723
}
1824

@@ -78,10 +84,7 @@ dependencies {
7884
}
7985

8086
// Publishing
81-
configureNexus(
82-
nexusUrl = "https://aws.oss.sonatype.org/service/local/",
83-
snapshotRepositoryUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots/",
84-
)
87+
configureJReleaser()
8588

8689
// Code Style
8790
val lintPaths = listOf(

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kotlin.mpp.stability.nowarn=true
33
kotlin.native.ignoreDisabledTargets=true
44

55
# gradle
6-
org.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=2G
6+
org.gradle.jvmargs=-Xmx10g -XX:MaxMetaspaceSize=2G
77

88
# sdk
99
sdkVersion=1.5.4-SNAPSHOT

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.34"
88

99
# libs
1010
coroutines-version = "1.10.2"

0 commit comments

Comments
 (0)