aws-sdk-kotlin icon indicating copy to clipboard operation
aws-sdk-kotlin copied to clipboard

Add BOM to version catalog

Open cloudshiftchris opened this issue 1 year ago • 0 comments

Describe the feature

atm the bom is not part of the SDK-published version catalog. When using the BOM with the version catalog you have to specify the SDK version twice - once for the BOM, and again for the version catalog.

    implementation(platform(libs.awssdk.kotlin.bom))  // from libs.versions.toml
    implementation(awssdk.services.codeartifact) // from SDK version catalog
    implementation(awssdk.services.ecr)
    implementation(awssdk.services.s3)
    implementation(awssdk.services.ssm)
    implementation(awssdk.services.rds)
    implementation(awssdk.services.resourcegroupstaggingapi)
    implementation(awssdk.services.route53)
    implementation(awssdk.services.dynamodb)
    implementation(awssdk.services.secretsmanager)
    implementation(awssdk.runtime.smithy.kotlin.http.client.engine.okhttp)

Is your feature request related to a problem?

While this doesn't appear to pose any material issue having the SDK version in two places is at best confusing. The BOM will trump whatever the version catalog specifies.

Proposed Solution

Add the BOM to the version catalog, e.g. awssdk.bom

Describe alternative solutions or features you've considered

The sample above shows the workaround of specifying the BOM separately

Acknowledge

  • [ ] I may be able to implement this feature request

AWS SDK for Kotlin version

1.3.51

Platform (JVM/JS/Native)

JVM

Operating system and version

MacOS

cloudshiftchris avatar Oct 11 '24 17:10 cloudshiftchris