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

Best way to inject a variable when packaging template? #186

Open
benfortuna opened this issue Oct 31, 2017 · 0 comments
Open

Best way to inject a variable when packaging template? #186

benfortuna opened this issue Oct 31, 2017 · 0 comments

Comments

@benfortuna
Copy link

benfortuna commented Oct 31, 2017

Hi,

I'd like to inject an arbitrary version into my template build.gradle when packaging the template (i.e. not require user to enter when doing lazybones create ... Is there something in the LazyBones plugin to support this or should I look at other gradle plugins for that?

I was thinking along the lines of LazybonesConventions having a map of default properties for the template engine that can be used in the lazybones.groovy script, but not sure if you've addressed this in another way.

Many thanks.

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

1 participant