Added ability to build releases with gradle