Skip to content
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

chore: refactor build to use custom smithy build plugin #1020

Merged
merged 4 commits into from
Jan 2, 2024
Merged

Conversation

aajtodd
Copy link
Contributor

@aajtodd aajtodd commented Dec 29, 2023

Issue #

Description of changes

Refactors the build to use our new codegen plugin based on the newer smithy gradle base plugin.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aajtodd aajtodd requested a review from a team as a code owner December 29, 2023 16:57

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
dependsOn(generateSdk)
dependsOn(tasks.generateSmithyProjections)
// generated code has warnings unfortunately
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can link this issue as a FIXME: awslabs/aws-sdk-kotlin#1169 (just converted now from the internal issue)

@@ -1,5 +1,6 @@
{
"version": "1.0",
"sources": ["model"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: why doesn't this need to reference a .smithy file like the other smithy-build.json files?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aajtodd aajtodd added the no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly. label Dec 29, 2023
Copy link

sonarcloud bot commented Dec 29, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@aajtodd aajtodd merged commit ac5aaf2 into main Jan 2, 2024
12 of 13 checks passed
@aajtodd aajtodd deleted the smithy-gradle branch January 2, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants