networknt / light-bot

A microservice based DevOps agent that handles multiple repositories and dependencies
Apache License 2.0
7 stars 3 forks source link

Is there now a preference for gradle? #5

Closed DSchrupert closed 6 years ago

DSchrupert commented 6 years ago

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!

stevehu commented 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.

stevehu commented 6 years ago

There are still a lot of things that need to be figured out for example deploy to Maven central, code coverage etc.

DSchrupert commented 6 years ago

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?

stevehu commented 6 years ago

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.

DSchrupert commented 6 years ago

I'm interested to take a look into this as well. Thanks for your time!