Skip to content

Commit 2734b59

Browse files
authored
chore: upgrade smithy to 1.13 (#391)
1 parent 201fbc3 commit 2734b59

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

codegen/smithy-aws-kotlin-codegen/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ val generateSdkRuntimeVersion by tasks.registering {
4444
// this keeps us from having to manually change version numbers in multiple places
4545
val resourcesDir = "$buildDir/resources/main/aws/sdk/kotlin/codegen"
4646
val versionFile = file("$resourcesDir/sdk-version.txt")
47+
val gradlePropertiesFile = rootProject.file("gradle.properties")
48+
inputs.file(gradlePropertiesFile)
4749
outputs.file(versionFile)
4850
sourceSets.main.get().output.dir(resourcesDir)
4951
doLast {

codegen/smithy-aws-kotlin-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/protocols/core/AwsHttpBindingProtocolGenerator.kt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,17 @@ abstract class AwsHttpBindingProtocolGenerator : HttpBindingProtocolGenerator()
8181
// Glacier customizations
8282
"GlacierChecksums", // smithy-kotlin#164
8383
"GlacierMultipartChecksums", // smithy-kotlin#164
84+
85+
// aws-sdk-kotlin#390
86+
"RestJsonHttpWithHeaderMemberNoModeledBody",
87+
"RestJsonHttpWithNoModeledBody",
88+
"RestJsonHttpWithEmptyBlobPayload",
89+
"RestJsonHttpWithEmptyStructurePayload",
90+
"RestJsonHttpWithHeadersButNoPayload",
91+
92+
// smithy-kotlin#519
93+
"SimpleScalarPropertiesWithWhiteSpace",
94+
"SimpleScalarPropertiesPureWhiteSpace",
8495
),
8596
TestContainmentMode.EXCLUDE_TESTS
8697
)

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ org.gradle.jvmargs=-Xmx6g -XX:MaxPermSize=6g -XX:MaxMetaspaceSize=1G
1010
sdkVersion=0.10.0-SNAPSHOT
1111

1212
# codegen
13-
smithyVersion=1.9.1
13+
smithyVersion=1.13.0
1414
smithyGradleVersion=0.5.3
1515
# smithy-kotlin codegen and runtime are versioned together
1616
smithyKotlinVersion=0.7.1-SNAPSHOT

0 commit comments

Comments
 (0)