update gradle to 1.0

@mimming please review
fixed!