Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow excluding properties #10

Open
michael-arndt-gcx opened this issue Oct 24, 2024 · 2 comments
Open

Allow excluding properties #10

michael-arndt-gcx opened this issue Oct 24, 2024 · 2 comments

Comments

@michael-arndt-gcx
Copy link

Thanks for the plugin!

I would love to have a reproducible build, but currently git.build.host is dependent on the build environment.

I'd suggest to allow excluding properties, or use only those properties which were explicitly included.

@igormukhin
Copy link

We are currently using n0mer/gradle-git-properties ,and we are considering switching to this plugin, but it lacks the feature of the selection of the properties:

This is how we are doing it with n0mer/gradle-git-properties:

gitProperties {
    keys = arrayListOf("git.branch", "git.commit.id.abbrev")
}

@michael-arndt-gcx
Copy link
Author

michael-arndt-gcx commented Oct 29, 2024

I currently work around a non-reproducible build by setting the hostname, if that helps you. On github actions' ubuntu-latest runner this is working:

sudo hostnamectl set-hostname github-actions

Not perfect, but works for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants