title: How can I pass VM arguments to gradle from command line?
body: <p>How can I pass VM arguments to gradle from command line. The Gradle Tool option in Idea is working fine ( screehshot attached).
  I am trying to pass --add-opens to gradle and am aware of -P but it is not working.</p>
  
  <p><a href="https://i.stack.imgur.com/nUxnr.png" rel="noreferrer">The GRADLE VM options from the Idea</a></p>