File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
codegen/aws-sdk-codegen/src/main/kotlin/aws/sdk/kotlin/codegen
tests/codegen/smoke-tests Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ class GradleGenerator : KotlinIntegration {
102102 write(" description = #S" , " Creates smoke tests jar" )
103103 write(" group = #S" , " application" )
104104 write(" dependsOn(build)" )
105+ write(" mustRunAfter(build)" )
105106 withBlock(" manifest {" , " }" ) {
106107 write(" attributes[#S] = #S" , " Main-Class" , " ${ctx.settings.pkg.name} .smoketests.SmokeTestsKt" )
107108 }
@@ -133,6 +134,7 @@ class GradleGenerator : KotlinIntegration {
133134 write(" description = #S" , " Runs smoke tests jar" )
134135 write(" group = #S" , " verification" )
135136 write(" dependsOn(tasks.getByName(#S))" , " smokeTestJar" )
137+ write(" mustRunAfter(tasks.getByName(#S))" , " smokeTestJar" )
136138 emptyLine()
137139 write(" val sdkVersion: String by project" )
138140 write(" val jarFile = file(#S)" , " build/libs/$jarName " )
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ fun configureTasks() {
111111 showCauses = true
112112 showStackTraces = true
113113 }
114+ mustRunAfter(tasks.getByName(" stageServices" ))
114115 }
115116}
116117
You can’t perform that action at this time.
0 commit comments