Hello,

I write a simple enforcer plugin (https://github.com/stliu/gradle-enforcer), it 
is just a clone of maven's enforcer plugin, and some codes are came from it
it is very basic for now, only two rules (jdk and gradle version) provided, but 
since gradle is moving fast and it would be useful to let people find out why 
its build not working anymore easily.

it happened after we update the build script to use some new features that come 
within a new gradle version, but other project members do not aware of this 
upgrade, then they get weird build failure and spend lots of time to find out 
the real reason.

currently i'm applying the evaluation work at here: but i'm not sure if it is 
the best place, would anyone give some insight on it?
                project.afterEvaluate { Project p ->
                        evaluator.evaluate(p, rules)
                }


-----------
Strong Liu <[email protected]>
http://hibernate.org
http://github.com/stliu

Reply via email to