fix code before use gradle