Add support for building AAR with gradle