AWS SDK

AWS SDK

rev. 5a82f321d16621ed64da9450a4caf810a2c6a5b4..8aae6e4094d39f7a1da5424f1b42ca12ab99eb0c (ignoring whitespace)

Files changed:

tmp-codegen-diff/services/codebuild/build.gradle.kts

@@ -4,4 +34,67 @@
   24     24   
                api(project(":aws-runtime:aws-config"))
   25     25   
                api(project(":aws-runtime:aws-core"))
   26     26   
                api(project(":aws-runtime:aws-endpoint"))
   27     27   
                api("aws.smithy.kotlin:http-client:1.3.13-SNAPSHOT")
   28     28   
                api("aws.smithy.kotlin:runtime-core:1.3.13-SNAPSHOT")
   29     29   
                api("aws.smithy.kotlin:smithy-client:1.3.13-SNAPSHOT")
   30     30   
                api("aws.smithy.kotlin:telemetry-api:1.3.13-SNAPSHOT")
   31     31   
            }
   32     32   
        }
   33     33   
    }
          34  +
          35  +
    jvm {
          36  +
        compilations {
          37  +
            val mainPath = getByName("main").output.classesDirs
          38  +
            val testPath = getByName("test").output.classesDirs
          39  +
            tasks {
          40  +
                register<Jar>("smokeTestJar") {
          41  +
                    description = "Creates smoke tests jar"
          42  +
                    group = "application"
          43  +
                    dependsOn(build)
          44  +
                    mustRunAfter(build)
          45  +
                    manifest {
          46  +
                        attributes["Main-Class"] = "aws.sdk.kotlin.services.codebuild.smoketests.SmokeTestsKt"
          47  +
                    }
          48  +
                    val runtimePath = configurations.getByName("jvmRuntimeClasspath").map { if (it.isDirectory) it else zipTree(it) }
          49  +
                    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
          50  +
                    from(runtimePath, mainPath, testPath)
          51  +
                    archiveBaseName.set("${project.name}-smoketests")
          52  +
                }
          53  +
            }
          54  +
        }
          55  +
    }
          56  +
          57  +
    tasks.register<JavaExec>("smokeTest") {
          58  +
        description = "Runs smoke tests jar"
          59  +
        group = "verification"
          60  +
        dependsOn(tasks.getByName("smokeTestJar"))
          61  +
        mustRunAfter(tasks.getByName("smokeTestJar"))
          62  +
          63  +
        val sdkVersion: String by project
          64  +
        val jarFile = file("build/libs/${project.name}-smoketests-$sdkVersion.jar")
          65  +
        classpath = files(jarFile)
          66  +
    }
   34     67   
}

tmp-codegen-diff/services/dynamodb/build.gradle.kts

@@ -4,4 +34,67 @@
   24     24   
                api(project(":aws-runtime:aws-config"))
   25     25   
                api(project(":aws-runtime:aws-core"))
   26     26   
                api(project(":aws-runtime:aws-endpoint"))
   27     27   
                api("aws.smithy.kotlin:http-client:1.3.13-SNAPSHOT")
   28     28   
                api("aws.smithy.kotlin:runtime-core:1.3.13-SNAPSHOT")
   29     29   
                api("aws.smithy.kotlin:smithy-client:1.3.13-SNAPSHOT")
   30     30   
                api("aws.smithy.kotlin:telemetry-api:1.3.13-SNAPSHOT")
   31     31   
            }
   32     32   
        }
   33     33   
    }
          34  +
          35  +
    jvm {
          36  +
        compilations {
          37  +
            val mainPath = getByName("main").output.classesDirs
          38  +
            val testPath = getByName("test").output.classesDirs
          39  +
            tasks {
          40  +
                register<Jar>("smokeTestJar") {
          41  +
                    description = "Creates smoke tests jar"
          42  +
                    group = "application"
          43  +
                    dependsOn(build)
          44  +
                    mustRunAfter(build)
          45  +
                    manifest {
          46  +
                        attributes["Main-Class"] = "aws.sdk.kotlin.services.dynamodb.smoketests.SmokeTestsKt"
          47  +
                    }
          48  +
                    val runtimePath = configurations.getByName("jvmRuntimeClasspath").map { if (it.isDirectory) it else zipTree(it) }
          49  +
                    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
          50  +
                    from(runtimePath, mainPath, testPath)
          51  +
                    archiveBaseName.set("${project.name}-smoketests")
          52  +
                }
          53  +
            }
          54  +
        }
          55  +
    }
          56  +
          57  +
    tasks.register<JavaExec>("smokeTest") {
          58  +
        description = "Runs smoke tests jar"
          59  +
        group = "verification"
          60  +
        dependsOn(tasks.getByName("smokeTestJar"))
          61  +
        mustRunAfter(tasks.getByName("smokeTestJar"))
          62  +
          63  +
        val sdkVersion: String by project
          64  +
        val jarFile = file("build/libs/${project.name}-smoketests-$sdkVersion.jar")
          65  +
        classpath = files(jarFile)
          66  +
    }
   34     67   
}

tmp-codegen-diff/services/ec2/build.gradle.kts

@@ -5,5 +35,68 @@
   25     25   
                api(project(":aws-runtime:aws-config"))
   26     26   
                api(project(":aws-runtime:aws-core"))
   27     27   
                api(project(":aws-runtime:aws-endpoint"))
   28     28   
                api("aws.smithy.kotlin:http-client:1.3.13-SNAPSHOT")
   29     29   
                api("aws.smithy.kotlin:runtime-core:1.3.13-SNAPSHOT")
   30     30   
                api("aws.smithy.kotlin:smithy-client:1.3.13-SNAPSHOT")
   31     31   
                api("aws.smithy.kotlin:telemetry-api:1.3.13-SNAPSHOT")
   32     32   
            }
   33     33   
        }
   34     34   
    }
          35  +
          36  +
    jvm {
          37  +
        compilations {
          38  +
            val mainPath = getByName("main").output.classesDirs
          39  +
            val testPath = getByName("test").output.classesDirs
          40  +
            tasks {
          41  +
                register<Jar>("smokeTestJar") {
          42  +
                    description = "Creates smoke tests jar"
          43  +
                    group = "application"
          44  +
                    dependsOn(build)
          45  +
                    mustRunAfter(build)
          46  +
                    manifest {
          47  +
                        attributes["Main-Class"] = "aws.sdk.kotlin.services.ec2.smoketests.SmokeTestsKt"
          48  +
                    }
          49  +
                    val runtimePath = configurations.getByName("jvmRuntimeClasspath").map { if (it.isDirectory) it else zipTree(it) }
          50  +
                    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
          51  +
                    from(runtimePath, mainPath, testPath)
          52  +
                    archiveBaseName.set("${project.name}-smoketests")
          53  +
                }
          54  +
            }
          55  +
        }
          56  +
    }
          57  +
          58  +
    tasks.register<JavaExec>("smokeTest") {
          59  +
        description = "Runs smoke tests jar"
          60  +
        group = "verification"
          61  +
        dependsOn(tasks.getByName("smokeTestJar"))
          62  +
        mustRunAfter(tasks.getByName("smokeTestJar"))
          63  +
          64  +
        val sdkVersion: String by project
          65  +
        val jarFile = file("build/libs/${project.name}-smoketests-$sdkVersion.jar")
          66  +
        classpath = files(jarFile)
          67  +
    }
   35     68   
}

tmp-codegen-diff/services/polly/build.gradle.kts

@@ -9,9 +39,72 @@
   29     29   
                api("aws.smithy.kotlin:smithy-client:1.3.13-SNAPSHOT")
   30     30   
                api("aws.smithy.kotlin:telemetry-api:1.3.13-SNAPSHOT")
   31     31   
            }
   32     32   
        }
   33     33   
        commonTest {
   34     34   
            dependencies {
   35     35   
                implementation("org.jetbrains.kotlin:kotlin-test:2.0.10")
   36     36   
            }
   37     37   
        }
   38     38   
    }
          39  +
          40  +
    jvm {
          41  +
        compilations {
          42  +
            val mainPath = getByName("main").output.classesDirs
          43  +
            val testPath = getByName("test").output.classesDirs
          44  +
            tasks {
          45  +
                register<Jar>("smokeTestJar") {
          46  +
                    description = "Creates smoke tests jar"
          47  +
                    group = "application"
          48  +
                    dependsOn(build)
          49  +
                    mustRunAfter(build)
          50  +
                    manifest {
          51  +
                        attributes["Main-Class"] = "aws.sdk.kotlin.services.polly.smoketests.SmokeTestsKt"
          52  +
                    }
          53  +
                    val runtimePath = configurations.getByName("jvmRuntimeClasspath").map { if (it.isDirectory) it else zipTree(it) }
          54  +
                    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
          55  +
                    from(runtimePath, mainPath, testPath)
          56  +
                    archiveBaseName.set("${project.name}-smoketests")
          57  +
                }
          58  +
            }
          59  +
        }
          60  +
    }
          61  +
          62  +
    tasks.register<JavaExec>("smokeTest") {
          63  +
        description = "Runs smoke tests jar"
          64  +
        group = "verification"
          65  +
        dependsOn(tasks.getByName("smokeTestJar"))
          66  +
        mustRunAfter(tasks.getByName("smokeTestJar"))
          67  +
          68  +
        val sdkVersion: String by project
          69  +
        val jarFile = file("build/libs/${project.name}-smoketests-$sdkVersion.jar")
          70  +
        classpath = files(jarFile)
          71  +
    }
   39     72   
}