File tree Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ repositories {
2727}
2828apply (plugin = " org.jlleitschuh.gradle.ktlint" )
2929dependencies {
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" )
Original file line number Diff line number Diff line change @@ -27,12 +27,25 @@ repositories {
2727}
2828apply (plugin = " org.jlleitschuh.gradle.ktlint" )
2929dependencies {
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}
3637tasks.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+
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ repositories {
2727}
2828apply (plugin = " org.jlleitschuh.gradle.ktlint" )
2929dependencies {
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" )
Original file line number Diff line number Diff 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 " )
You can’t perform that action at this time.
0 commit comments