better support gradle dependencies