Skip to content

Commit

Permalink
Use explicit empty smithy build config list in examples (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpmellema authored Feb 26, 2024
1 parent 04327b7 commit 6868474
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
5 changes: 5 additions & 0 deletions custom-trait-examples/custom-string-trait/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
3 changes: 0 additions & 3 deletions custom-trait-examples/custom-string-trait/smithy-build.json

This file was deleted.

5 changes: 5 additions & 0 deletions custom-trait-examples/custom-structure-trait/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ dependencies {

implementation(project(":custom-trait-examples:custom-annotation-trait"))
}

smithy {
smithyBuildConfigs.set(project.files())
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ dependencies {

implementation(project(":custom-trait-examples:custom-string-trait"))
}

smithy {
smithyBuildConfigs.set(project.files())
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ dependencies {

implementation(project(":custom-trait-examples:custom-structure-trait"))
}

smithy {
smithyBuildConfigs.set(project.files())
}
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

0 comments on commit 6868474

Please sign in to comment.