Skip to content

Commit 1600ac3

Browse files
authored
chore: pin SDK client versions to avoid non-deterministic build failures (#100)
1 parent 9153b66 commit 1600ac3

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

build-plugins/build-support/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ dependencies {
2626

2727
implementation(libs.nexusPublishPlugin)
2828
compileOnly(gradleApi())
29-
implementation("aws.sdk.kotlin:s3:1.4.+")
30-
implementation("aws.sdk.kotlin:cloudwatch:1.4.+")
29+
implementation(libs.aws.sdk.s3)
30+
implementation(libs.aws.sdk.cloudwatch)
3131
testImplementation(libs.junit.jupiter)
3232
}
3333

gradle/libs.versions.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
[versions]
2+
aws-sdk-version = "1.4.116"
23
ktlint = "1.3.0"
4+
nexus-plugin-version = "2.0.0"
5+
publish-plugin-version = "1.3.1"
36
smithy-version = "1.60.2"
47
smithy-gradle-plugin-version = "1.3.0"
58
junit-version = "5.10.1"
69

710
[libraries]
11+
aws-sdk-cloudwatch = { module = "aws.sdk.kotlin:cloudwatch", version.ref = "aws-sdk-version" }
12+
aws-sdk-s3 = { module = "aws.sdk.kotlin:s3", version.ref = "aws-sdk-version" }
813
ktlint-cli = { module = "com.pinterest.ktlint:ktlint-cli", version.ref = "ktlint" }
9-
ktlint-rule-engine-core = { module = "com.pinterest.ktlint:ktlint-rule-engine-core", version.ref = "ktlint" }
1014
ktlint-cli-ruleset-core = { module = "com.pinterest.ktlint:ktlint-cli-ruleset-core", version.ref = "ktlint" }
1115
ktlint-test = {module = "com.pinterest.ktlint:ktlint-test", version.ref = "ktlint" }
12-
nexusPublishPlugin = { module = "io.github.gradle-nexus:publish-plugin", version = "2.0.0" }
16+
nexusPublishPlugin = { module = "io.github.gradle-nexus:publish-plugin", version.ref = "nexus-plugin-version" }
1317
smithy-model = { module = "software.amazon.smithy:smithy-model", version.ref = "smithy-version" }
1418
smithy-gradle-base-plugin = { module = "software.amazon.smithy.gradle:smithy-base", version.ref = "smithy-gradle-plugin-version" }
1519

1620
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit-version" }
1721

1822
[plugins]
19-
plugin-publish = { id = "com.gradle.plugin-publish", version = "1.3.1"}
23+
plugin-publish = { id = "com.gradle.plugin-publish", version.ref = "publish-plugin-version"}

0 commit comments

Comments
 (0)