Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use explicit empty smithy build config list #77

Merged
merged 1 commit into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

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())
}
Loading