add gradle wrapper function, remove ruby functions