Skip to content

Commit 92e091e

Browse files
committed
Revert previous commit
1 parent 9c3967c commit 92e091e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

codegen/protocol-tests/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ dependencies {
7373
codegen(libs.smithy.aws.protocol.tests)
7474
}
7575

76+
tasks.generateSmithyProjections {
77+
// ensure the generated clients use the same version of the runtime as the aws aws-runtime
78+
val smithyKotlinRuntimeVersion = libs.versions.smithy.kotlin.runtime.version.get()
79+
doFirst {
80+
System.setProperty("smithy.kotlin.codegen.clientRuntimeVersion", smithyKotlinRuntimeVersion)
81+
}
82+
}
83+
7684
abstract class ProtocolTestTask @Inject constructor(private val project: Project) : DefaultTask() {
7785
/**
7886
* The projection

0 commit comments

Comments
 (0)