myniva / gradle-s3-build-cache

An AWS S3 Gradle build cache implementation
Apache License 2.0
60 stars 19 forks source link

Update to aws-sdk-java-v2 #29

Open egor-n opened 4 years ago

egor-n commented 4 years ago

Was there a specific reason to use https://github.com/aws/aws-sdk-java instead of https://github.com/aws/aws-sdk-java-v2?

I'm running into a strange authentication issue when using the EC2 metadata authentication method and I don't know where to look anymore. I wanted to confirm with the contributor if a potential update to AWS SDK v2.0 can be considered.

egor-n commented 4 years ago

I took a stab at migrating in https://github.com/egor-n/gradle-s3-build-cache/commit/0e7613fe4b7bd5ab15998e279efb5fe7574a07c2 and it seems to look fine.

The S3Mock library also seems to work but the integration had some quirks.