Skip to content

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

@benfortuna

Description

@benfortuna

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions