Fixed some missing gradle integration stuff

Time to merge? maybe, probably