Hack gradle-wrapper.jar to expand ~