[build] setting sourceCompatibility and targetCompatiblity to 1.6