From 849b5b0cc8f7a4ae7728862dfd1a6781bcd35a2c Mon Sep 17 00:00:00 2001 From: Jose Vitor Schneid Date: Mon, 24 Jul 2023 17:42:52 -0300 Subject: [PATCH] Fix validation-model and aws-protocol-tests builds (#1880) This commit updates the build task for a pair of packages that depend on the SmithyBuildJar task. This change is needed after changes in common sourcesJar task to include resource files in source jars, which was conflicting with the output of the SmithyBuildJar task output. --- smithy-aws-protocol-tests/build.gradle | 2 ++ smithy-validation-model/build.gradle | 2 ++ 2 files changed, 4 insertions(+) diff --git a/smithy-aws-protocol-tests/build.gradle b/smithy-aws-protocol-tests/build.gradle index 9992420e011..a4110ceb9bd 100644 --- a/smithy-aws-protocol-tests/build.gradle +++ b/smithy-aws-protocol-tests/build.gradle @@ -30,3 +30,5 @@ dependencies { implementation project(":smithy-aws-traits") api project(":smithy-validation-model") } + +tasks["sourcesJar"].dependsOn("smithyBuildJar") diff --git a/smithy-validation-model/build.gradle b/smithy-validation-model/build.gradle index 83e6c9e4343..6e13377562a 100644 --- a/smithy-validation-model/build.gradle +++ b/smithy-validation-model/build.gradle @@ -27,3 +27,5 @@ ext { dependencies { implementation project(path: ":smithy-cli", configuration: "shadow") } + +tasks["sourcesJar"].dependsOn("smithyBuildJar")