Add regex for compile dealing with gradle