Skip to content

Commit fc44d22

Browse files
authored
Pin Smithy dependencies versions to specific release (#1548)
1 parent db2e64c commit fc44d22

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

codegen/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
smithyVersion=1.14.0

codegen/protocol-test-codegen/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@
1515

1616
import software.amazon.smithy.gradle.tasks.SmithyBuild
1717

18+
val smithyVersion: String by project
19+
1820
plugins {
1921
id("software.amazon.smithy") version "0.5.3"
2022
}
2123

2224
dependencies {
23-
implementation("software.amazon.smithy:smithy-aws-protocol-tests:[1.14.0,1.15.0[")
25+
implementation("software.amazon.smithy:smithy-aws-protocol-tests:$smithyVersion")
2426
implementation(project(":smithy-aws-go-codegen"))
2527
}
2628

codegen/sdk-codegen/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ import software.amazon.smithy.model.node.Node
1818
import software.amazon.smithy.model.shapes.ServiceShape
1919
import software.amazon.smithy.gradle.tasks.SmithyBuild
2020
import software.amazon.smithy.aws.traits.ServiceTrait
21-
import kotlin.streams.toList
2221

2322
buildscript {
23+
val smithyVersion: String by project
2424
dependencies {
25-
"classpath"("software.amazon.smithy:smithy-aws-traits:[1.13.1,2.0.0[")
25+
"classpath"("software.amazon.smithy:smithy-aws-traits:$smithyVersion")
2626
}
2727
}
2828

codegen/smithy-aws-go-codegen/build.gradle.kts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* permissions and limitations under the License.
1414
*/
1515

16+
val smithyVersion: String by project
17+
1618
plugins {
1719
`java-library`
1820
jacoco
@@ -32,9 +34,9 @@ tasks.withType<Test> {
3234
}
3335

3436
dependencies {
35-
api("software.amazon.smithy:smithy-aws-traits:[1.14.0,2.0.0[")
36-
api("software.amazon.smithy:smithy-aws-iam-traits:[1.14.0,2.0.0[")
37-
api("software.amazon.smithy:smithy-aws-cloudformation-traits:[1.14.0,2.0.0[")
37+
api("software.amazon.smithy:smithy-aws-traits:$smithyVersion")
38+
api("software.amazon.smithy:smithy-aws-iam-traits:$smithyVersion")
39+
api("software.amazon.smithy:smithy-aws-cloudformation-traits:$smithyVersion")
3840
api("software.amazon.smithy.go:smithy-go-codegen:0.1.0")
3941
testImplementation("org.junit.jupiter:junit-jupiter-api:5.4.0")
4042
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.4.0")

0 commit comments

Comments
 (0)