I want to execute JUnit tests via gradle where I want to avoid invocation of System.exit() calls in these tests. I\'ve read that setting a security policy file would do the