Skip to content

Commit fb23ef0

Browse files
authored
fix: use an explicit smithy-cli version (#92)
1 parent ec6b05b commit fb23ef0

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

codegen/protocol-tests/build.gradle.kts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@ plugins {
1010

1111
description = "Smithy protocol test suite"
1212

13-
val smithyVersion: String by project
13+
buildscript {
14+
val smithyVersion: String by project
15+
dependencies {
16+
classpath("software.amazon.smithy:smithy-cli:$smithyVersion")
17+
}
18+
}
1419

20+
21+
val smithyVersion: String by project
1522
dependencies {
1623
implementation("software.amazon.smithy:smithy-aws-protocol-tests:$smithyVersion")
1724
implementation(project(":codegen:smithy-aws-kotlin-codegen"))
@@ -95,4 +102,4 @@ tasks.register("testAllProtocols") {
95102
group = "Verification"
96103
val allTests = tasks.withType<ProtocolTestTask>()
97104
dependsOn(allTests)
98-
}
105+
}

codegen/sdk/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ buildscript {
2222
val smithyVersion: String by project
2323
dependencies {
2424
classpath("software.amazon.smithy:smithy-aws-traits:$smithyVersion")
25+
classpath("software.amazon.smithy:smithy-cli:$smithyVersion")
2526
}
2627
}
2728

0 commit comments

Comments
 (0)