diff --git a/build.gradle b/build.gradle index a6b8f81d24..d2bef9562f 100644 --- a/build.gradle +++ b/build.gradle @@ -49,6 +49,7 @@ buildscript { getPrometheusBinaryLocation = { -> return "https://github.com/prometheus/prometheus/releases/download/v${prometheus_binary_version}/prometheus-${prometheus_binary_version}."+ getOSFamilyType() + "-" + getArchType() + ".tar.gz" } + aws_java_sdk_version = "1.12.651" } repositories { diff --git a/common/build.gradle b/common/build.gradle index 4d20bb3fdb..8ea4abc6f6 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -39,8 +39,8 @@ dependencies { api group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0' api group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.9.3' implementation 'com.github.babbel:okhttp-aws-signer:1.0.2' - api group: 'com.amazonaws', name: 'aws-java-sdk-core', version: '1.12.545' - api group: 'com.amazonaws', name: 'aws-java-sdk-sts', version: '1.12.545' + api group: 'com.amazonaws', name: 'aws-java-sdk-core', version: "${aws_java_sdk_version}" + api group: 'com.amazonaws', name: 'aws-java-sdk-sts', version: "${aws_java_sdk_version}" implementation "com.github.seancfoley:ipaddress:5.4.0" testImplementation group: 'junit', name: 'junit', version: '4.13.2' diff --git a/integ-test/build.gradle b/integ-test/build.gradle index 2215c0d664..04e40afef9 100644 --- a/integ-test/build.gradle +++ b/integ-test/build.gradle @@ -161,7 +161,7 @@ configurations.all { resolutionStrategy.force "org.apache.httpcomponents:httpclient:4.5.14" resolutionStrategy.force "joda-time:joda-time:2.10.12" resolutionStrategy.force "org.slf4j:slf4j-api:1.7.36" - resolutionStrategy.force "com.amazonaws:aws-java-sdk-core:1.12.545" + resolutionStrategy.force "com.amazonaws:aws-java-sdk-core:${aws_java_sdk_version}" } dependencies { diff --git a/spark/build.gradle b/spark/build.gradle index 9ebd18d1f9..c221c4e36c 100644 --- a/spark/build.gradle +++ b/spark/build.gradle @@ -49,8 +49,8 @@ dependencies { implementation group: 'org.opensearch', name: 'opensearch', version: "${opensearch_version}" implementation group: 'org.json', name: 'json', version: '20231013' - api group: 'com.amazonaws', name: 'aws-java-sdk-emr', version: '1.12.545' - api group: 'com.amazonaws', name: 'aws-java-sdk-emrserverless', version: '1.12.545' + api group: 'com.amazonaws', name: 'aws-java-sdk-emr', version: "${aws_java_sdk_version}" + api group: 'com.amazonaws', name: 'aws-java-sdk-emrserverless', version: "${aws_java_sdk_version}" implementation group: 'commons-io', name: 'commons-io', version: '2.8.0' testImplementation(platform("org.junit:junit-bom:5.9.3"))