AWS SDK for Java Version 2: Difference between revisions

From NovaOrdis Knowledge Base
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=
=<span id='Gradle_Project'></span>Gradle Project Setup=
{{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}}


Line 23: Line 23:
}
}
</syntaxhighlight>
</syntaxhighlight>
=Component APIs=
=Component APIs=
* [[AWS S3 Java API|AWS S3 Java API]]
* [[AWS S3 Java API|AWS S3 Java API]]

Revision as of 05:26, 3 October 2021

External

Internal

Gradle Project Setup

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

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

repositories {
 mavenCentral()
}

dependencies {
 implementation platform('software.amazon.awssdk:bom:2.17.51')
 // Declare individual SDK dependencies without version
 implementation 'software.amazon.awssdk:kinesis'
 implementation 'software.amazon.awssdk:s3'
}

Component APIs