File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
codegen/aws-sdk-codegen/src/main/kotlin/aws/sdk/kotlin/codegen Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ class GradleGenerator : KotlinIntegration {
9595 private fun generateSmokeTestJarTask (writer : GradleWriter , ctx : CodegenContext ) {
9696 writer.withBlock(" jvm {" , " }" ) {
9797 withBlock(" compilations {" , " }" ) {
98- write(" val runtimePath = configurations.getByName(#S).map { if (it.isDirectory) it else zipTree(it) }" , " jvmRuntimeClasspath" )
9998 write(" val mainPath = getByName(#S).output.classesDirs" , " main" )
10099 write(" val testPath = getByName(#S).output.classesDirs" , " test" )
101100 withBlock(" tasks {" , " }" ) {
@@ -106,6 +105,7 @@ class GradleGenerator : KotlinIntegration {
106105 withBlock(" manifest {" , " }" ) {
107106 write(" attributes[#S] = #S" , " Main-Class" , " ${ctx.settings.pkg.name} .smoketests.SmokeTestsKt" )
108107 }
108+ write(" val runtimePath = configurations.getByName(#S).map { if (it.isDirectory) it else zipTree(it) }" , " jvmRuntimeClasspath" )
109109 write(" duplicatesStrategy = DuplicatesStrategy.EXCLUDE" )
110110 write(" from(runtimePath, mainPath, testPath)" )
111111 write(" archiveBaseName.set(#S)" , " \$ {project.name}-smoketests" )
You can’t perform that action at this time.
0 commit comments