@@ -16,12 +16,6 @@ plugins {
1616 id(libs.plugins.kotlin.jvm.get().pluginId)
1717}
1818
19- val projections = listOf (
20- Projection (" successService" , " smoke-tests-success.smithy" , " smithy.kotlin.traits#SuccessService" ),
21- Projection (" failureService" , " smoke-tests-failure.smithy" , " smithy.kotlin.traits#FailureService" ),
22- Projection (" exceptionService" , " smoke-tests-exception.smithy" , " smithy.kotlin.traits#ExceptionService" ),
23- )
24-
2519description = " AWS SDK for Kotlin's smoke test codegen test suite"
2620
2721dependencies {
@@ -39,7 +33,7 @@ configureTasks()
3933
4034fun configureProjections () {
4135 smithyBuild {
42- this @Build_gradle. tests.forEach { test ->
36+ tests.forEach { test ->
4337 projections.register(test.name) {
4438 imports = listOf (layout.projectDirectory.file(test.model.path + test.model.fileName).asFile.absolutePath)
4539 smithyKotlinPlugin {
@@ -64,7 +58,7 @@ fun configureTasks() {
6458 tasks.register(" stageServices" ) {
6559 dependsOn(tasks.generateSmithyProjections)
6660 doLast {
67- this @Build_gradle. tests.forEach { test ->
61+ tests.forEach { test ->
6862 val projectionPath = smithyBuild.smithyKotlinProjectionPath(test.name).get()
6963 val destinationPath = layout.projectDirectory.asFile.absolutePath + " /services/${test.name} "
7064
@@ -92,7 +86,7 @@ fun configureTasks() {
9286 }
9387
9488 tasks.clean {
95- this @Build_gradle. tests.forEach { test ->
89+ tests.forEach { test ->
9690 delete(" services/${test.name} " )
9791 }
9892 }
0 commit comments