Open franckouam opened 3 days ago
Hey @franckouam!
The build.gradle.kts
is defined to work with our development cycle to ensure our examples remain up to date.
Are you trying to build the examples from source? Or are you trying to replicate an example in a sample project?
From your build.gradle.kts
you have both
implementation("software.amazon.cryptography:aws-database-encryption-sdk-dynamodb:${ddbecVersion}")
implementation("software.amazon.cryptography:aws-cryptographic-material-providers:${mplVersion}")
and
implementation("software.amazon.cryptography:aws-database-encryption-sdk-dynamodb:3.1.2")
implementation("software.amazon.cryptography:aws-cryptographic-material-providers:1.0.0")
You should consolidate these duplicates to one. Ideally, you would depend on the latest publish versions.
For the AWS Database Encryption SDK for DynamoDB that is 3.7.0 and for the AWS Material Providers Library that is 1.7.0
Hey @josecorella!
Thanks for your answer. For the context i'm trying to build the examples from source. I updated the build.gradle.kts
as you suggested. I still have errors while running ./gradlew build
. It might be a problem with the execution of the test cases. I put the logs of the compilation down below.
Thanks again build_log.txt
Issue: Running Basic Example (
BasicPutGetExample
) in AWS Database Encryption SDK for DynamoDBDescription
I am trying to run the Java basic example
BasicPutGetExample
in the AWS Database Encryption SDK for DynamoDB to understand its initial functionality. My goal is to run themain
without modifying or adding any existing operations.Environment
./gradlew
)Steps Followed
Configured the project as indicated in this README
Added the recommended dependencies. After that, the dependencies section in the file
build.gradle.kts
looks like this:./gradlew build
.Problem Encountered
After compilation, I have the errors below:
Question
Do you have any suggestions or specific steps to resolve this issue and successfully run the example? Any assistance or guidance on the required configurations would be greatly appreciated.