-
Notifications
You must be signed in to change notification settings - Fork 54
fix: add smithy-kotlin to our bom and re-export to version catalog #1082
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
Conversation
Kudos, SonarCloud Quality Gate passed!
|
A new generated diff is ready to view.
|
} | ||
} | ||
|
||
val ignoredSmithyKotlin = setOf( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: Is it worth ignoring based on patterns like "contains test" or "contains codegen"? It's less explicit but maybe more likely to prevent the accidental inclusion of some new module...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I was thinking the same but at the end of the day a BOM isn't including those dependencies just setting the versions to use and so even if it were included customers aren't likely depending on test deps unless they manually added them (unlikely). I can go either way though I just didn't want to inadvertently ignore something we actually want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the pattern-based approach more personally. I think it's better to accidentally omit something and add it later than to accidentally include something and remove it later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could go either way but this explicit list seems fine given the low potential for impact
} | ||
} | ||
|
||
val ignoredSmithyKotlin = setOf( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could go either way but this explicit list seems fine given the low potential for impact
Issue #
n/a
Description of changes
#1072 added a BOM and version catalog artifact. This PR adds
smithy-kotlin
to our BOM and re-exportssmithy-kotlin
runtime from theaws-sdk-kotlin
version catalog for convenience.e.g.
Alternatives
smithy-kotlin
also publishes a version catalog. Originally I had wanted to get rid of a redeclaring these in the SDKlibs.versions.toml
and just use that artifact directly for both theaws-runtime
build files and in the BOM/version catalog from the SDK. Unfortunately version catalogs can only be created fromsettings.gradle.kts
(withlibs.versions.toml
being created implicitly by convention). This doesn't play well with composite builds (you can't use the version catalog from an include build ofsmithy-kotlin
).By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.