Skip to content

Commit 4aa194c

Browse files
authored
chore: add publish to codeartifact for beta testing (#82)
1 parent babb765 commit 4aa194c

File tree

17 files changed

+65
-12
lines changed

17 files changed

+65
-12
lines changed

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,10 @@ tasks.register<JavaExec>("ktlintFormat") {
4343

4444
// configure coverage for the entire project
4545
apply(from = rootProject.file("gradle/codecoverage.gradle"))
46+
47+
tasks.register("showRepos") {
48+
doLast {
49+
println("All repos:")
50+
println(repositories.map { it.name })
51+
}
52+
}

client-runtime/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ subprojects {
8484
apply(from = rootProject.file("gradle/publish.gradle"))
8585
}
8686

87-
// resolves build deadlock with aws-client-rt when using composite builds
87+
// FIXME - resolves build deadlock with aws-client-rt when using composite builds
8888
subprojects.filter { it.name != "aws-client-rt" }.forEach { proj ->
8989
proj.tasks.findByName("generatePomFileForJvmPublication")?.dependsOn(":client-runtime:aws-client-rt:generatePomFileForJvmPublication")
9090
}
File renamed without changes.

client-runtime/protocols/json/common/src/aws/sdk/kotlin/runtime/protocol/json/AwsJsonProtocol.kt renamed to client-runtime/protocols/aws-json-protocols/common/src/aws/sdk/kotlin/runtime/protocol/json/AwsJsonProtocol.kt

File renamed without changes.

client-runtime/protocols/json/common/src/aws/sdk/kotlin/runtime/protocol/json/RestJsonError.kt renamed to client-runtime/protocols/aws-json-protocols/common/src/aws/sdk/kotlin/runtime/protocol/json/RestJsonError.kt

File renamed without changes.

client-runtime/protocols/json/common/src/aws/sdk/kotlin/runtime/protocol/json/RestJsonErrorDeserializer.kt renamed to client-runtime/protocols/aws-json-protocols/common/src/aws/sdk/kotlin/runtime/protocol/json/RestJsonErrorDeserializer.kt

File renamed without changes.

client-runtime/protocols/json/common/test/aws/sdk/kotlin/runtime/protocol/json/AwsJsonProtocolTest.kt renamed to client-runtime/protocols/aws-json-protocols/common/test/aws/sdk/kotlin/runtime/protocol/json/AwsJsonProtocolTest.kt

File renamed without changes.

client-runtime/protocols/json/common/test/aws/sdk/kotlin/runtime/protocol/json/RestJsonErrorDeserializerTest.kt renamed to client-runtime/protocols/aws-json-protocols/common/test/aws/sdk/kotlin/runtime/protocol/json/RestJsonErrorDeserializerTest.kt

File renamed without changes.

client-runtime/protocols/json/common/test/aws/sdk/kotlin/runtime/protocol/json/RestJsonErrorTest.kt renamed to client-runtime/protocols/aws-json-protocols/common/test/aws/sdk/kotlin/runtime/protocol/json/RestJsonErrorTest.kt

File renamed without changes.

codegen/protocol-tests/build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ tasks["jar"].enabled = false
2525
tasks["smithyBuildJar"].enabled = false
2626

2727
tasks.create<SmithyBuild>("buildSdk") {
28+
// ensure the generated clients use the same version of the runtime as the aws client-runtime
29+
val smithyKotlinClientRtVersion: String by project
30+
doFirst {
31+
System.setProperty("smithy.kotlin.codegen.clientRuntimeVersion", smithyKotlinClientRtVersion)
32+
}
2833
addRuntimeClasspath = true
2934
}
3035

0 commit comments

Comments
 (0)