-
Notifications
You must be signed in to change notification settings - Fork 50
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 #1168
Conversation
A new generated diff is ready to view.
|
codegen/sdk/build.gradle.kts
Outdated
@@ -145,13 +131,14 @@ fun awsServiceProjections(): Provider<List<SmithyProjection>> { | |||
} | |||
|
|||
// 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) |
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.
should this just be removed rather than commented out?
codegen/sdk/build.gradle.kts
Outdated
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...") |
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.
nit: remove unnecessary printlns
settings.gradle.kts
Outdated
@@ -27,7 +27,7 @@ sourceControl { | |||
|
|||
rootProject.name = "aws-sdk-kotlin" | |||
|
|||
includeBuild("./gradle/sdk-plugins") | |||
// includeBuild("./gradle/sdk-plugins") |
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.
same comment here, should this just be removed?
A new generated diff is ready to view.
|
A new generated diff is ready to view.
|
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
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.