Added source compatibility and target compatibility to gradle