diff --git a/custom-trait-examples/custom-annotation-trait/build.gradle.kts b/custom-trait-examples/custom-annotation-trait/build.gradle.kts index f9dc560..58b06a6 100644 --- a/custom-trait-examples/custom-annotation-trait/build.gradle.kts +++ b/custom-trait-examples/custom-annotation-trait/build.gradle.kts @@ -58,3 +58,8 @@ dependencies { implementation("software.amazon.smithy:smithy-model:$smithyVersion") } + +smithy { + // Set to an empty list because no smithy-build config files are used + smithyBuildConfigs.set(project.files()) +} diff --git a/custom-trait-examples/custom-string-trait/build.gradle.kts b/custom-trait-examples/custom-string-trait/build.gradle.kts index ed69ff8..a4c5d70 100644 --- a/custom-trait-examples/custom-string-trait/build.gradle.kts +++ b/custom-trait-examples/custom-string-trait/build.gradle.kts @@ -63,3 +63,8 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter-engine:5.4.0") testImplementation("org.junit.jupiter:junit-jupiter-params:5.4.0") } + +smithy { + // Set to an empty list because no smithy-build config files are used + smithyBuildConfigs.set(project.files()) +} diff --git a/custom-trait-examples/custom-string-trait/smithy-build.json b/custom-trait-examples/custom-string-trait/smithy-build.json deleted file mode 100644 index 2cc32aa..0000000 --- a/custom-trait-examples/custom-string-trait/smithy-build.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "1.0" -} \ No newline at end of file diff --git a/custom-trait-examples/custom-structure-trait/build.gradle.kts b/custom-trait-examples/custom-structure-trait/build.gradle.kts index 89a1301..376427f 100644 --- a/custom-trait-examples/custom-structure-trait/build.gradle.kts +++ b/custom-trait-examples/custom-structure-trait/build.gradle.kts @@ -58,3 +58,8 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter-engine:5.4.0") testImplementation("org.junit.jupiter:junit-jupiter-params:5.4.0") } + +smithy { + // Set to an empty list because no smithy-build config files are used + smithyBuildConfigs.set(project.files()) +} diff --git a/custom-trait-examples/custom-structure-trait/smithy-build.json b/custom-trait-examples/custom-structure-trait/smithy-build.json deleted file mode 100644 index 2cc32aa..0000000 --- a/custom-trait-examples/custom-structure-trait/smithy-build.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "version": "1.0" -} \ No newline at end of file diff --git a/custom-trait-examples/integ/custom-annotation-trait-test/build.gradle.kts b/custom-trait-examples/integ/custom-annotation-trait-test/build.gradle.kts index a31b5ee..77202f3 100644 --- a/custom-trait-examples/integ/custom-annotation-trait-test/build.gradle.kts +++ b/custom-trait-examples/integ/custom-annotation-trait-test/build.gradle.kts @@ -14,3 +14,7 @@ dependencies { implementation(project(":custom-trait-examples:custom-annotation-trait")) } + +smithy { + smithyBuildConfigs.set(project.files()) +} diff --git a/custom-trait-examples/integ/custom-string-trait-test/build.gradle.kts b/custom-trait-examples/integ/custom-string-trait-test/build.gradle.kts index 5777918..34ce899 100644 --- a/custom-trait-examples/integ/custom-string-trait-test/build.gradle.kts +++ b/custom-trait-examples/integ/custom-string-trait-test/build.gradle.kts @@ -16,3 +16,7 @@ dependencies { implementation(project(":custom-trait-examples:custom-string-trait")) } + +smithy { + smithyBuildConfigs.set(project.files()) +} diff --git a/custom-trait-examples/integ/custom-structure-trait-test/build.gradle.kts b/custom-trait-examples/integ/custom-structure-trait-test/build.gradle.kts index 556c212..48a2782 100644 --- a/custom-trait-examples/integ/custom-structure-trait-test/build.gradle.kts +++ b/custom-trait-examples/integ/custom-structure-trait-test/build.gradle.kts @@ -14,3 +14,7 @@ dependencies { implementation(project(":custom-trait-examples:custom-structure-trait")) } + +smithy { + smithyBuildConfigs.set(project.files()) +} diff --git a/linting-and-validation-examples/integ/common-linting-configuration-test/build.gradle.kts b/linting-and-validation-examples/integ/common-linting-configuration-test/build.gradle.kts index 81a68b3..6b406de 100644 --- a/linting-and-validation-examples/integ/common-linting-configuration-test/build.gradle.kts +++ b/linting-and-validation-examples/integ/common-linting-configuration-test/build.gradle.kts @@ -30,3 +30,7 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter-params:5.4.0") testImplementation("org.hamcrest:hamcrest:2.1") } + +smithy { + smithyBuildConfigs.set(project.files()) +} diff --git a/linting-and-validation-examples/integ/custom-linter-test/build.gradle.kts b/linting-and-validation-examples/integ/custom-linter-test/build.gradle.kts index 3b32fb7..9fa10dd 100644 --- a/linting-and-validation-examples/integ/custom-linter-test/build.gradle.kts +++ b/linting-and-validation-examples/integ/custom-linter-test/build.gradle.kts @@ -29,3 +29,7 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter-engine:5.4.0") testImplementation("org.junit.jupiter:junit-jupiter-params:5.4.0") } + +smithy { + smithyBuildConfigs.set(project.files()) +} diff --git a/linting-and-validation-examples/integ/custom-validator-test/build.gradle.kts b/linting-and-validation-examples/integ/custom-validator-test/build.gradle.kts index c3b5de6..aa0e97a 100644 --- a/linting-and-validation-examples/integ/custom-validator-test/build.gradle.kts +++ b/linting-and-validation-examples/integ/custom-validator-test/build.gradle.kts @@ -29,3 +29,7 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter-engine:5.4.0") testImplementation("org.junit.jupiter:junit-jupiter-params:5.4.0") } + +smithy { + smithyBuildConfigs.set(project.files()) +}