refactored build.gradle and explicitly specify sourceCompatibility and
targetCompatibility