10 10 | implementation(project(":aws-runtime:aws-http"))
|
11 11 | implementation("aws.smithy.kotlin:aws-json-protocols:1.5.25-SNAPSHOT")
|
12 12 | implementation("aws.smithy.kotlin:aws-protocol-core:1.5.25-SNAPSHOT")
|
13 13 | implementation("aws.smithy.kotlin:aws-signing-common:1.5.25-SNAPSHOT")
|
14 14 | implementation("aws.smithy.kotlin:aws-signing-default:1.5.25-SNAPSHOT")
|
15 15 | implementation("aws.smithy.kotlin:http:1.5.25-SNAPSHOT")
|
16 16 | implementation("aws.smithy.kotlin:http-auth:1.5.25-SNAPSHOT")
|
17 17 | implementation("aws.smithy.kotlin:http-auth-aws:1.5.25-SNAPSHOT")
|
18 18 | implementation("aws.smithy.kotlin:http-client-engine-default:1.5.25-SNAPSHOT")
|
19 19 | implementation("aws.smithy.kotlin:identity-api:1.5.25-SNAPSHOT")
|
20 - | implementation("org.jetbrains.kotlin:kotlin-stdlib:2.2.0")
|
20 + | implementation("org.jetbrains.kotlin:kotlin-stdlib:2.3.0")
|
21 21 | implementation("aws.smithy.kotlin:serde:1.5.25-SNAPSHOT")
|
22 22 | implementation("aws.smithy.kotlin:serde-json:1.5.25-SNAPSHOT")
|
23 23 | implementation("aws.smithy.kotlin:telemetry-defaults:1.5.25-SNAPSHOT")
|
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.5.25-SNAPSHOT")
|
28 28 | api("aws.smithy.kotlin:runtime-core:1.5.25-SNAPSHOT")
|
29 29 | api("aws.smithy.kotlin:smithy-client:1.5.25-SNAPSHOT")
|
30 30 | api("aws.smithy.kotlin:telemetry-api:1.5.25-SNAPSHOT")
|
31 31 | }
|
32 32 | }
|
33 33 | commonTest {
|
34 34 | dependencies {
|
35 - | implementation("org.jetbrains.kotlin:kotlin-test:2.2.0")
|
35 + | implementation("org.jetbrains.kotlin:kotlin-test:2.3.0")
|
36 36 | }
|
37 37 | }
|
38 38 | }
|
39 39 |
|
40 40 | jvm {
|
41 41 | compilations {
|
42 42 | val mainPath = getByName("main").output.classesDirs
|
43 43 | val testPath = getByName("test").output.classesDirs
|
44 44 | tasks {
|
45 45 | register<Jar>("smokeTestJar") {
|
46 46 | description = "Creates smoke tests jar"
|
47 47 | group = "application"
|
48 48 | dependsOn(build)
|
49 49 | mustRunAfter(build)
|
50 50 | manifest {
|
51 51 | attributes["Main-Class"] = "aws.sdk.kotlin.services.polly.smoketests.SmokeTestsKt"
|
52 52 | }
|
53 53 | val runtimePath = configurations.getByName("jvmRuntimeClasspath").map { if (it.isDirectory) it else zipTree(it) }
|
54 54 | duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
55 55 | from(runtimePath, mainPath, testPath)
|
56 56 | archiveBaseName.set("${project.name}-smoketests")
|
57 57 | }
|
58 58 | }
|
59 59 | }
|
60 60 | }
|
61 61 |
|
62 62 | tasks.register<JavaExec>("smokeTest") {
|
63 63 | description = "Runs smoke tests jar"
|
64 64 | group = "verification"
|
65 65 | dependsOn(tasks.getByName("smokeTestJar"))
|