Add gradle build to upload

Summary:
Add gradle configuration to build AARs with native code
and upload them.