Switch to Gradle based build system.