Skip to content

Commit e2f7898

Browse files
committed
updated the Kotlin SDK build number
1 parent e37c4a3 commit e2f7898

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

kotlin/services/sts/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ repositories {
2727
}
2828
apply(plugin = "org.jlleitschuh.gradle.ktlint")
2929
dependencies {
30-
implementation("aws.sdk.kotlin:sts:1.2.28")
31-
implementation("aws.sdk.kotlin:secretsmanager:1.2.28")
30+
implementation("aws.sdk.kotlin:sts:1.3.112")
31+
implementation("aws.sdk.kotlin:secretsmanager:1.3.112")
3232
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.30.0")
3333
implementation("aws.smithy.kotlin:http-client-engine-crt:0.30.0")
3434
implementation("com.google.code.gson:gson:2.10")

kotlin/services/support/build.gradle.kts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,25 @@ repositories {
2727
}
2828
apply(plugin = "org.jlleitschuh.gradle.ktlint")
2929
dependencies {
30-
implementation("aws.sdk.kotlin:support:1.2.28")
30+
implementation("aws.sdk.kotlin:support:1.3.112")
3131
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.30.0")
3232
implementation("aws.smithy.kotlin:http-client-engine-crt:0.30.0")
33+
implementation("com.google.code.gson:gson:2.10")
3334
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
3435
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
3536
}
3637
tasks.withType<KotlinCompile> {
3738
kotlinOptions.jvmTarget = "17"
3839
}
40+
41+
tasks.test {
42+
useJUnitPlatform()
43+
testLogging {
44+
events("passed", "skipped", "failed")
45+
}
46+
47+
// Define the test source set
48+
testClassesDirs += files("build/classes/kotlin/test")
49+
classpath += files("build/classes/kotlin/main", "build/resources/main")
50+
}
51+

kotlin/services/textract/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ repositories {
2727
}
2828
apply(plugin = "org.jlleitschuh.gradle.ktlint")
2929
dependencies {
30-
implementation("aws.sdk.kotlin:textract:1.2.28")
31-
implementation("aws.sdk.kotlin:secretsmanager:1.2.28")
30+
implementation("aws.sdk.kotlin:textract:1.3.112")
31+
implementation("aws.sdk.kotlin:secretsmanager:1.3.112")
3232
implementation("aws.smithy.kotlin:http-client-engine-okhttp:0.30.0")
3333
implementation("aws.smithy.kotlin:http-client-engine-crt:0.30.0")
3434
implementation("com.google.code.gson:gson:2.10")

kotlin/services/textract/src/main/kotlin/com/kotlin/textract/StartDocumentAnalysis.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private suspend fun getJobResults(
9494
val response = textractClient.getDocumentAnalysis(analysisRequest)
9595
status = response.jobStatus.toString()
9696

97-
if (status.compareTo("SUCCEEDED") == 0) {
97+
if (status.compareTo("Succeeded") == 0) {
9898
finished = true
9999
} else {
100100
println("$index status is: $status")

0 commit comments

Comments
 (0)