Added sourceCompatibility and targetCompatibility 1.6 in build