File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,13 @@ publishing {
8181 artifactId = " version-catalog"
8282 description = " Provides a version catalog"
8383 from(components[" versionCatalog" ])
84+
85+ /*
86+ Creates a placeholder JAR for version catalog publishing
87+ The `version-catalog` plugin doesn't generate one because it isn't needed but JReleaser requires a jar
88+ https://docs.gradle.org/current/userguide/version_catalogs.html#sec:version-catalog-plugin
89+ */
90+ artifact(tasks[" versionCatalogJar" ])
8491 }
8592 }
8693}
Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: Apache-2.0
44 */
55import aws.sdk.kotlin.gradle.dsl.configureLinting
6- import aws.sdk.kotlin.gradle.dsl.configureNexus
6+ import aws.sdk.kotlin.gradle.dsl.configureJReleaser
77import aws.sdk.kotlin.gradle.util.typedProp
88
99buildscript {
@@ -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
8591val lintPaths = listOf (
Original file line number Diff line number Diff line change 22kotlin-version = " 2.1.0"
33dokka-version = " 2.0.0"
44
5- aws-kotlin-repo-tools-version = " 0.4.32 "
5+ aws-kotlin-repo-tools-version = " 0.4.33 "
66
77# libs
88coroutines-version = " 1.9.0"
You can’t perform that action at this time.
0 commit comments