Skip to content

Commit ee5f426

Browse files
authored
feat: migrate to jreleaser (#1322)
1 parent c980f10 commit ee5f426

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

build.gradle.kts

Lines changed: 8 additions & 2 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 {
@@ -14,6 +14,12 @@ buildscript {
1414
classpath(libs.kotlinx.atomicfu.plugin)
1515
// Add our custom gradle build logic to buildscript classpath
1616
classpath(libs.aws.kotlin.repo.tools.build.support)
17+
/*
18+
Enforce jackson to a version supported both by dokka and jreleaser:
19+
https://github.com/Kotlin/dokka/issues/3472#issuecomment-1929712374
20+
https://github.com/Kotlin/dokka/issues/3194#issuecomment-1929382630
21+
*/
22+
classpath(enforcedPlatform("com.fasterxml.jackson:jackson-bom:2.15.3"))
1723
}
1824
}
1925

@@ -79,7 +85,7 @@ dependencies {
7985
}
8086

8187
// Publishing
82-
configureNexus()
88+
configureJReleaser()
8389

8490
// Code Style
8591
val lintPaths = listOf(

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
kotlin-version = "2.2.0"
33
dokka-version = "2.0.0"
44

5-
aws-kotlin-repo-tools-version = "0.4.32"
5+
aws-kotlin-repo-tools-version = "0.4.34"
66

77
# libs
88
coroutines-version = "1.10.2"

0 commit comments

Comments
 (0)