adding support for extensions

Looks like all that was needed in order to configure fields on the extension object was the setters. I suppose gradle extension objects must be fully java-bean compliant.

Let me know if you think anything is amiss.