Skip to content

[REQ] Enhance Gradle plugin to support template locations on the classpath #14678

Open
@dimber-cais

Description

@dimber-cais

Is your feature request related to a problem? Please describe.

I have set of customized templates that I wish to apply across all of my projects (dozens). Currently I need to supply those files as files within a file-system directory (via templateDir) which isn't ideal given I have so many projects.

Describe the solution you'd like

I would like a new parameter added to the Gradle plugin, to specify a classpath location for templates. Using this approach, I can add the templates as a gradle compileOnly dependency.

Describe alternatives you've considered

As a workaround, I can write a gradle task that executes before the GenerateTask which copies the files from the Jar into a file-system directory, which is then configured as the templateDir.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions