diff --git a/build.gradle.kts b/build.gradle.kts index f4ac1d943e5..e027ebcf246 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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 { @@ -13,12 +13,6 @@ 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")) } } @@ -84,7 +78,10 @@ dependencies { } // Publishing -configureJReleaser() +configureNexus( + nexusUrl = "https://aws.oss.sonatype.org/service/local/", + snapshotRepositoryUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots/", +) // Code Style val lintPaths = listOf( diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 77b6692f487..10c75a51ed2 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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.35" +aws-kotlin-repo-tools-version = "0.4.32" # libs coroutines-version = "1.10.2"