Files
codeql/java/ql/integration-tests/java/buildless-maven-mirrorof/test.py
2026-06-15 14:51:52 +02:00

11 lines
360 B
Python

import os
import os.path
def test(codeql, java, check_diagnostics_java):
codeql.database.create(build_mode = "none",
_env={
"_JAVA_OPTIONS": "-Duser.home=" + os.path.join(os.getcwd(), "empty-home"),
"LGTM_INDEX_MAVEN_SETTINGS_FILE": os.path.join(os.path.dirname(os.path.realpath(__file__)), "settings.xml")
}
)