Gradle JAR task not working after upgrading from 0.92 to 2.1

Hi Peter, this is the solution i am looking for, now you git the issue.

Actually our project is build using gradle 0.9.2 and i am just upgrading to 2.1.