AWS SDK for Java Version 1

From NovaOrdis Knowledge Base
Revision as of 05:36, 3 October 2021 by Ovidiu (talk | contribs) (→‎Internal)
Jump to navigation Jump to search

External

Internal

Gradle Project Setup

https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-project-gradle.html

Add the AWS SDK 1 BOM to the dependencies section of the file, and then declare individual SDK dependencies without a version:

repositories {
 mavenCentral()
}

dependencies {
 implementation platform('com.amazonaws:aws-java-sdk-bom:1.11.1000')
 // Declare individual SDK dependencies without version
 implementation 'com.amazonaws:aws-java-sdk-s3'
}

Dependency

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'
}