Open
Description
Is your feature request related to a problem? Please describe.
I'd like to use BuildInfo
to access certain info, but the default generated BuildInfo
contains details that I do not want to be contained (especially not in published artifacts), e.g. absolute file paths within my personal machine (potentially leaking personal info like my username).
Describe the solution you'd like
Ideally: a mechanism (ideally via directives) that allows to dis-/enable each possible field of the BuildInfo
being generated.
Alternatively: a mechanism that allows to disable any fields of the BuildInfo
being generated that may contain info about the file system of the build machine.
Describe alternatives you've considered
- switch to sbt and use https://github.com/sbt/sbt-buildinfo for my needs
- look into ways to exclude the unwanted fields from the published artifacts (I guess one could use ProGuard for something like this)
Additional context
n/a