Skip to content

Commit

Permalink
fix: use an explicit smithy-cli version (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
aajtodd authored Mar 16, 2021
1 parent ec6b05b commit fb23ef0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions codegen/protocol-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@ plugins {

description = "Smithy protocol test suite"

val smithyVersion: String by project
buildscript {
val smithyVersion: String by project
dependencies {
classpath("software.amazon.smithy:smithy-cli:$smithyVersion")
}
}


val smithyVersion: String by project
dependencies {
implementation("software.amazon.smithy:smithy-aws-protocol-tests:$smithyVersion")
implementation(project(":codegen:smithy-aws-kotlin-codegen"))
Expand Down Expand Up @@ -95,4 +102,4 @@ tasks.register("testAllProtocols") {
group = "Verification"
val allTests = tasks.withType<ProtocolTestTask>()
dependsOn(allTests)
}
}
1 change: 1 addition & 0 deletions codegen/sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ buildscript {
val smithyVersion: String by project
dependencies {
classpath("software.amazon.smithy:smithy-aws-traits:$smithyVersion")
classpath("software.amazon.smithy:smithy-cli:$smithyVersion")
}
}

Expand Down

0 comments on commit fb23ef0

Please sign in to comment.