fix #1423 gradle local dependencies

fix #1423 gradle local dependencies