Example on how to have a code generator within gradle.