networknt / light-bot

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

add gradle support for build along with maven #55

Closed stevehu closed 3 years ago

stevehu commented 5 years ago

It would be great for the bot to detect the build framework before calling the command. Or call maven first and then gradle?

ddobrin commented 5 years ago

We'll check whether a certain directory, where a Git repo has been cloned, has either a: -- pom.xml -- build.gradle.kts file.

Must be tried first but this should do it

ddobrin commented 5 years ago

If people have both in the same folder, we can say: Gradle first, Maven second. Even allow a choice if that's the case