mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-18 19:05:06 +00:00
If we use JAVA_HOME consistently for tests, we can run tests with a different version of java than gradle runs with. For example, this enables running tests with jigsaw, but building with java 8. The only caveat is intellij does not set JAVA_HOME. This change enforces JAVA_HOME is set, but ignores for intellij.