Fix compatibility with maven artifacts

* make generateUndoundJar task accessible from project config
example : 
artifacts{
	archives generateUnboundTask
}

* add classifier to be able to upload generated jar into a repo
Yes in your case, this is working since you're using the << operator, the closure is executed during task execution.