Skip to content

Commit

Permalink
Merge pull request #146 from groovy/change-system-exits-default
Browse files Browse the repository at this point in the history
Allow system exits by default (closes #145)
  • Loading branch information
keeganwitt authored Oct 22, 2019
2 parents f5c89af + 21a322d commit a2e2b11
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ public abstract class AbstractToolsMojo extends AbstractGroovyMojo {
protected Properties properties = new Properties();

/**
* Whether to allow System.exit() to be used.
* Whether to allow System.exit() to be used. Should not be set to <code>false</code> when using parallel
* execution, as it isn't thread-safe.
*
* @since 1.2
*/
@Parameter(defaultValue = "false")
@Parameter(defaultValue = "true")
protected boolean allowSystemExits;

/**
Expand Down

0 comments on commit a2e2b11

Please sign in to comment.