added sourceCompatibiliy = 1.7 as we want to use java 7