jfrog / build-info-go

build-info-go is a Go library and a CLI, which allows generating build-info for a source code project.
https://www.buildinfo.org
Apache License 2.0
65 stars 38 forks source link

Support maven and gradle wrappers #53

Open ixchelruiz opened 2 years ago

ixchelruiz commented 2 years ago

Is your feature request related to a problem? Please describe. Supporting the wrappers of maven and gradle is really needed as wrappers allows us to run a build with a specified version and settings without the build tool installation.

d4nj1 commented 2 years ago

Hi, under Linux I used a workarround so I could even run it with a local gradle wrapper. In the root of the gradle project:

mkdir bin
ln -s ../gradlew bin/gradle
PATH=$PATH:$PWD/bin bi gradle

This should of course be integrated into the plugin, but to just get a build-info generated it is sufficient.