Added gradle scripts to try to fix travis