AWS SDK for Java: Difference between revisions
Jump to navigation
Jump to search
(→SDK 1) |
|||
Line 17: | Line 17: | ||
<syntaxhighlight lang='groovy'> | <syntaxhighlight lang='groovy'> | ||
repositories { | |||
mavenCentral() | |||
} | |||
dependencies { | dependencies { | ||
// SDK 1 | // SDK 1 | ||
implementation 'com.amazonaws:<component-name>:1.<minor>.<patch>' | implementation 'com.amazonaws:<component-name>:1.<minor>.<patch>' | ||
Line 26: | Line 32: | ||
Example: | Example: | ||
<syntaxhighlight lang='groovy'> | <syntaxhighlight lang='groovy'> | ||
repositories { | |||
mavenCentral() | |||
} | |||
dependencies { | dependencies { | ||
implementation 'com.amazonaws:aws-java-sdk-kinesis:1.11.471' | implementation 'com.amazonaws:aws-java-sdk-kinesis:1.11.471' | ||
} | } |
Revision as of 22:41, 7 March 2019
External
- https://aws.amazon.com/sdk-for-java/
- https://docs.aws.amazon.com/sdk-for-java/v2/developer-guide/welcome.html
- AWS SDK Java v2 on GitHub https://github.com/aws/aws-sdk-java-v2
- AWS SDK Java v1.11 on GitHub https://github.com/aws/aws-sdk-java
Internal
Overview
Dependency
SDK 1
repositories {
mavenCentral()
}
dependencies {
// SDK 1
implementation 'com.amazonaws:<component-name>:1.<minor>.<patch>'
}
Example:
repositories {
mavenCentral()
}
dependencies {
implementation 'com.amazonaws:aws-java-sdk-kinesis:1.11.471'
}
SDK 2
dependencies {
implementation 'software.amazon.awssdk:aws-sdk-java:2.1.1'
}
Maven Repository location: