add gradle script to project and ignore unnecessary files