Closed DSchrupert closed 6 years ago
@NicholasAzar Gradle is very fast and the config file is much simpler compare with Maven. However I don't feel like learning Groovy DSL. Until recently Kotlin DSL is good enough. I am using this project to try Gradle with kotlin DSL and thinking about to switch for all networknt projects as the build time is significant shorter. For light-codegen, we can let user to choose between Gradle or Maven in the config.json file. We cannot drop Maven support as they are customers using it.
There are still a lot of things that need to be figured out for example deploy to Maven central, code coverage etc.
That's great to hear! There is good integration between gradle and maven (like packaging artifacts into .m2) so a migration if/when it comes up could be done incrementally without much disruption. Are there any examples that are built with gradle right now?
There is no examples yet except the light-bot itself. I am thinking about updating one of the petstore example to test the water. Once it is done, we can put it into the light-codegen to give end user two options.
I'm interested to take a look into this as well. Thanks for your time!
Hi @stevehu
Noticed this was written using gradle and was just wondering why the sudden move from maven? Since the entire ecosystem was built using maven, just seemed like a interesting choice (I'm a huge fan 😃 )
Thanks!