Skip to content

Commit c7df98a

Browse files
authored
feat(build): add codegen group to codegen tasks in sdk (#114)
1 parent 5f91587 commit c7df98a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

codegen/sdk/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,15 @@ fun String.kotlinNamespace(): String = split(".")
157157

158158
// Generate smithy-build.json as first step in build task
159159
task("generateSmithyBuild") {
160+
group = "codegen"
160161
description = "generate smithy-build.json"
161162
doFirst {
162163
projectDir.resolve("smithy-build.json").writeText(generateSmithyBuild(discoveredServices))
163164
}
164165
}
165166

166167
tasks.create<SmithyBuild>("generateSdk") {
168+
group = "codegen"
167169
// ensure the generated clients use the same version of the runtime as the aws client-runtime
168170
val smithyKotlinVersion: String by project
169171
doFirst {
@@ -190,6 +192,7 @@ val AwsService.destinationDir: String
190192
}
191193

192194
task("stageSdks") {
195+
group = "codegen"
193196
description = "relocate generated SDK(s) from build directory to services/ dir"
194197
dependsOn("generateSdk")
195198
doLast {
@@ -208,6 +211,7 @@ task("stageSdks") {
208211
}
209212

210213
tasks.create("bootstrap") {
214+
group = "codegen"
211215
description = "Generate AWS SDK's and register them with the build"
212216

213217
dependsOn(tasks["generateSdk"])

0 commit comments

Comments
 (0)