First attempt at moving to Gradle for simplified build system.