Skip to content

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:58
@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK


// get around class cast issues, listProperty implements what we need to pass this to `NamedObjectContainer`
return project.objects.listProperty<SmithyProjection>().value(p)
// return project.objects.listProperty<SmithyProjection>().value(p)
Copy link
Member

Choose a reason for hiding this comment

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

should this just be removed rather than commented out?

Comment on lines 184 to 189
println(software.amazon.smithy.aws.traits.ServiceTrait.ID.toString())
println(service.allTraits.map { it.key.toString() })
println(service.hasTrait(software.amazon.smithy.aws.traits.ServiceTrait::class.java))
println(service.findTrait(software.amazon.smithy.aws.traits.ServiceTrait.ID))

println("classloader...")
Copy link
Member

Choose a reason for hiding this comment

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

nit: remove unnecessary printlns

rootProject.name = "aws-sdk-kotlin"

includeBuild("./gradle/sdk-plugins")
// includeBuild("./gradle/sdk-plugins")
Copy link
Member

Choose a reason for hiding this comment

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

same comment here, should this just be removed?

@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

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

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 2, 2024

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 60dd23c into main Jan 2, 2024
@aajtodd aajtodd deleted the smithy-gradle branch January 2, 2024 17:35
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