Skip to content

How to run a groovy script at generate-source phase #187

@CrowleyPrograms

Description

@CrowleyPrograms

Hello everyone and thanks for taking your time to read through this!
This is the first time I work with groovy and I decided to write up a script to automatically create an enum out of a properties file.
So far so good, but how do I make the script compile at the generate-sources phase? I have only found solutions with maven, however I keep getting errors when I try to install this plugin via maven. Note: This is also the first time I am working with maven.

Have a nice day ~Crowley

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions