Full gradle, no more of this hybrid stuff

Includes Upload tasks, and all taks from the build.xml, commented if the names have changed, keeping the same property names and everything.