One of my projects is an Android library which when built, pushes artifacts to my S3 account, and my app projects that depend on it download it from that S3 location. This setup works great on my local machine, of course. Because I have my
~/.gradle/gradle.properties file set with my AWS credentials.
Is there any way to add my AWS credentials to
~/.gradle/gradle.properties file? CircleCI reads from
~/.aws/credentials which is the way AWS works but Gradle does not look in there.
Gradle team is allegedly not going to merge a PR that indeed reads the credentials from
Ref - http://brianoneill.blogspot.com/2015/10/using-gradle-with-aws-and-s3-w.html
I think if CircleCI let us add properties in
~/.gradle/gradle.properties that will solve this problem.