Added gradle mode