First cut at moving to the new Gradle based build system.