Please do not perform property evaluation during configuration phase
This plugin has a cardinal sin in that it is validating states of the plugin during configration phase. This makes it impossible to implement lazy evalution.
Please move the validation like whether specific paths exist into the TaskAction on the task and don't do it when the plugin is applied.
A case in point is that jooqConfig.xml might not exist when the plugin is applied as the file might be generated by another task later on before generateJooqMetamodel is executed.
Hello ysb33r,
I did not know that. Thanks for the tip.
I'm going to look into that as soon as I find the time. I'm also always open for pull-requests :)
I checked the code, and it seems that all validation takes places in an project.afterEvaluate { } block. I'm not sure why this is not sufficient?