Updated to use gradle project structure.