Skip to content

Commit 63653e2

Browse files
committed
remove version setting logic
1 parent bfa65cd commit 63653e2

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

codegen/protocol-tests/build.gradle.kts

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

76-
tasks.generateSmithyProjections {
77-
doFirst {
78-
val smithyKotlinRuntimeVersion = rootProject.file("../smithy-kotlin/gradle.properties")
79-
.readText()
80-
.lines()
81-
.find { it.startsWith("sdkVersion=") }
82-
?.substringAfter("sdkVersion=")
83-
?: libs.versions.smithy.kotlin.runtime.version.get()
84-
85-
// ensure the generated clients use the same version of the runtime as the aws aws-runtime
86-
System.setProperty("smithy.kotlin.codegen.clientRuntimeVersion", smithyKotlinRuntimeVersion)
87-
}
88-
}
89-
9076
abstract class ProtocolTestTask @Inject constructor(private val project: Project) : DefaultTask() {
9177
/**
9278
* The projection

0 commit comments

Comments
 (0)