Updated project to use new gradle build system.
Updated gradle wrapper and build script.