Use gradle to build and upload documentation