- adapted to use gradle 2.0