4 ms·
Not as easy as using gradle. I've written a couple maven plugins in my time, and I'm so very glad we have gradle now.
by orbitur 9y ago
Not as easy as using gradle. I've written a couple maven plugins in my time, and I'm so very glad we have gradle now.
- chii 9y agoMaven plugins still have lots of structure to obey, but you can treat the plugin as a black box very easily. Other people dont need to understand the innards to compose the plugin with other plugins. I'd be hard-pressed to see how you can do that with gradle.
- oweiler 9y agoGradle plugins work exactly the same. The only difference is that you define a task of the type a plugin exposes, configure it via its API and define dependencies to other tasks. Not very different from configuring a Maven plugin.
- kelnos 9y agoRight. And in my opinion that's a strength. I don't want it to be trivially easy to do something custom. I want the person who thinks they need to do something custom to think long and hard about it, and really pause to consider they might be approaching the build issue in the wrong way before plowing ahead with some custom, (often) unmaintainable code. Having guardrails in your build system that are difficult to jump over is a good thing.