AWS SDK for Java Version 2: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* [[AWS_SDK_for_Java#Subjects|AWS SDK for Java]] | * [[AWS_SDK_for_Java#Subjects|AWS SDK for Java]] | ||
=Gradle Project | =Gradle Project= | ||
{{External|https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/setup-project-gradle.html}} | {{External|https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/setup-project-gradle.html}} | ||
Add the AWS SDK 2 BOM to the <code>dependencies</code> section of the file, and then declare individual SDK dependencies without a version: | |||
<syntaxhighlight lang='groovy'> | |||
dependencies { | |||
implementation platform('software.amazon.awssdk:bom:2.17.51') | |||
// Declare individual SDK dependencies without version | |||
} | |||
</syntaxhighlight> | |||
=Dependency= | =Dependency= |
Revision as of 05:19, 3 October 2021
External
- Maven Repository Location https://repo1.maven.org/maven2/software/amazon/awssdk/aws-sdk-java/
- Developer Guide https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/home.html
Internal
Gradle Project
Add the AWS SDK 2 BOM to the dependencies
section of the file, and then declare individual SDK dependencies without a version:
dependencies {
implementation platform('software.amazon.awssdk:bom:2.17.51')
// Declare individual SDK dependencies without version
}
Dependency
SDK 2
repositories {
mavenCentral()
}
dependencies {
implementation 'software.amazon.awssdk:aws-sdk-java:2.17.51'
}