Skip to content

Commit ec42920

Browse files
authored
Add generateBuildEnvironmentConstants as a dependency of sourcesJar (#4005)
## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here --> Fixes #3949 ## Description <!--- Describe your changes in detail --> ## Testing <!--- Please describe in detail how you tested your changes --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [ ] For changes to the smithy-rs codegen or runtime crates, I have created a changelog entry Markdown file in the `.changelog` directory, specifying "client," "server," or both in the `applies_to` key. - [ ] For changes to the AWS SDK, generated SDK code, or SDK runtime crates, I have created a changelog entry Markdown file in the `.changelog` directory, specifying "aws-sdk-rust" in the `applies_to` key. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
1 parent 8039247 commit ec42920

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codegen-core/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ val sourcesJar by tasks.creating(Jar::class) {
186186
group = "publishing"
187187
description = "Assembles Kotlin sources jar"
188188
archiveClassifier.set("sources")
189+
dependsOn("generateBuildEnvironmentConstants")
189190
from(sourceSets.getByName("main").allSource)
190191
}
191192

0 commit comments

Comments
 (0)