I am building a project for a specific environment which must no rely on the standard JRE. Standard Java APIs are provided by other project dependencies. Therefore I would like to remove the JRE entry from the External Dependencies.
I can remove it by deleting the following line from the .iml file:
<orderEntry type="inheritedJdk" />
but it is added back as soon as I reload the Gradle project.
Is there a way to remove it permanently ?