Switches to using Gradle for building.