Gradle 1.12 wrapper fails

can you provide the elaborate procedure/hack you used to solve this problem. i have the exact problem and could not get solution from this thread. Thanks in advance