Fixed incompatibility with updated gradle