Skip to content

Commit

Permalink
[groovy#282] add groovy.fork property and fork paramter.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarwell committed Oct 14, 2023
1 parent 8e83de7 commit 748bf51
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,15 @@ public abstract class AbstractCompileMojo extends AbstractGroovySourcesMojo {
@Parameter(defaultValue = "false")
protected boolean previewFeatures;

/**
* Whether to run the compiler using {@code groovyc} in a separate process.
* <p>
* {@code groovyc} will be search in {@code GROOVY_HOME/bin} first and then on the {@code PATH}.
* If no executable was found, the compilation fails.
*/
@Parameter(property = "groovy.fork", defaultValue = "false")
protected boolean fork;

/**
* Performs compilation of compile mojos.
*
Expand Down

0 comments on commit 748bf51

Please sign in to comment.