Skip to content

misc: setup branch for jreleaser testing #1659

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
import aws.sdk.kotlin.gradle.dsl.configureJReleaser
import aws.sdk.kotlin.gradle.dsl.configureLinting
import aws.sdk.kotlin.gradle.dsl.configureNexus
import aws.sdk.kotlin.gradle.util.typedProp

buildscript {
Expand All @@ -13,6 +13,12 @@ buildscript {
classpath(libs.kotlinx.atomicfu.plugin)
// Add our custom gradle build logic to buildscript classpath
classpath(libs.aws.kotlin.repo.tools.build.support)
/*
Enforce jackson to a version supported both by dokka and jreleaser:
https://github.com/Kotlin/dokka/issues/3472#issuecomment-1929712374
https://github.com/Kotlin/dokka/issues/3194#issuecomment-1929382630
*/
classpath(enforcedPlatform("com.fasterxml.jackson:jackson-bom:2.15.3"))
}
}

Expand Down Expand Up @@ -78,10 +84,7 @@ dependencies {
}

// Publishing
configureNexus(
nexusUrl = "https://aws.oss.sonatype.org/service/local/",
snapshotRepositoryUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots/",
)
configureJReleaser()

// Code Style
val lintPaths = listOf(
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ksp-version = "2.2.0-2.0.2" # Keep in sync with kotlin-version

dokka-version = "2.0.0"

aws-kotlin-repo-tools-version = "0.4.32"
aws-kotlin-repo-tools-version = "0.4.35"

# libs
coroutines-version = "1.10.2"
Expand Down
2 changes: 1 addition & 1 deletion services/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ val optinAnnotations = listOf(
val libraries = libs

subprojects {
group = "aws.sdk.kotlin"
group = "com.sonatype.central.testing.amazon"
version = sdkVersion

apply {
Expand Down
Loading