Skip to content

Commit

Permalink
Add smoke test traits dep
Browse files Browse the repository at this point in the history
Adds a dependency on smithy-smoke-test-traits in the sdk code gen package so aws service models that use the smokeTests trait won't fail to build because of unknown traits. Generated a client with a smoke test and confirmed there was no diff.

Adding the dependency in the code gen package since it's the models that need the dependency, not the code generator. When smoke tests are implemented in the generator, we can add the dep there.
  • Loading branch information
milesziemer authored Jan 11, 2024
2 parents fd15e72 + 3d6e98a commit 8673d96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codegen/sdk-codegen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ plugins {
}

dependencies {
val smithyVersion: String by project
implementation(project(":smithy-aws-go-codegen"))
implementation("software.amazon.smithy:smithy-smoke-test-traits:$smithyVersion")
}

// This project doesn't produce a JAR.
Expand Down

0 comments on commit 8673d96

Please sign in to comment.