Skip to content

Commit 5c8cec9

Browse files
committed
Fix build after merge
1 parent b33e41b commit 5c8cec9

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

tests/codegen/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import aws.sdk.kotlin.gradle.codegen.dsl.generateSmithyProjections
22

33
plugins {
44
alias(libs.plugins.aws.kotlin.repo.tools.smithybuild)
5-
alias(libs.plugins.kotlin.jvm)
5+
id(libs.plugins.kotlin.jvm.get().pluginId)
66
}
77

88
val libraries = libs

tests/codegen/smoke-tests/build.gradle.kts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
2519
description = "AWS SDK for Kotlin's smoke test codegen test suite"
2620

2721
dependencies {
@@ -39,7 +33,7 @@ configureTasks()
3933

4034
fun 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
}

tests/codegen/smoke-tests/services/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
alias(libs.plugins.kotlin.multiplatform)
2+
id(libs.plugins.kotlin.multiplatform.get().pluginId)
33
}
44

55
val libraries = libs

0 commit comments

Comments
 (0)