made setup_gradle.sh as a generic script