Skip to content

Commit

Permalink
Pin Smithy dependencies versions to specific release (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail authored Jan 5, 2022
1 parent db2e64c commit fc44d22
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions codegen/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
smithyVersion=1.14.0
4 changes: 3 additions & 1 deletion codegen/protocol-test-codegen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@

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

val smithyVersion: String by project

plugins {
id("software.amazon.smithy") version "0.5.3"
}

dependencies {
implementation("software.amazon.smithy:smithy-aws-protocol-tests:[1.14.0,1.15.0[")
implementation("software.amazon.smithy:smithy-aws-protocol-tests:$smithyVersion")
implementation(project(":smithy-aws-go-codegen"))
}

Expand Down
4 changes: 2 additions & 2 deletions codegen/sdk-codegen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import software.amazon.smithy.model.node.Node
import software.amazon.smithy.model.shapes.ServiceShape
import software.amazon.smithy.gradle.tasks.SmithyBuild
import software.amazon.smithy.aws.traits.ServiceTrait
import kotlin.streams.toList

buildscript {
val smithyVersion: String by project
dependencies {
"classpath"("software.amazon.smithy:smithy-aws-traits:[1.13.1,2.0.0[")
"classpath"("software.amazon.smithy:smithy-aws-traits:$smithyVersion")
}
}

Expand Down
8 changes: 5 additions & 3 deletions codegen/smithy-aws-go-codegen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* permissions and limitations under the License.
*/

val smithyVersion: String by project

plugins {
`java-library`
jacoco
Expand All @@ -32,9 +34,9 @@ tasks.withType<Test> {
}

dependencies {
api("software.amazon.smithy:smithy-aws-traits:[1.14.0,2.0.0[")
api("software.amazon.smithy:smithy-aws-iam-traits:[1.14.0,2.0.0[")
api("software.amazon.smithy:smithy-aws-cloudformation-traits:[1.14.0,2.0.0[")
api("software.amazon.smithy:smithy-aws-traits:$smithyVersion")
api("software.amazon.smithy:smithy-aws-iam-traits:$smithyVersion")
api("software.amazon.smithy:smithy-aws-cloudformation-traits:$smithyVersion")
api("software.amazon.smithy.go:smithy-go-codegen:0.1.0")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.4.0")
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.4.0")
Expand Down

0 comments on commit fc44d22

Please sign in to comment.