mirror of
https://github.com/github/codeql.git
synced 2026-02-17 07:23:42 +01:00
We are no longer bound to the platform-specific directories, so simplify the test organization. If you don't want this change, just skip merging this PR. It's purely optional. I kept the platform-specific directories around under `kotlin`, but you could also easily merge all these together if you find them unhelpful. I'll leave that change to you.
10 lines
407 B
Python
10 lines
407 B
Python
def test(codeql, use_java_11, java, actions_toolchains_file):
|
|
# The version of gradle used doesn't work on java 17
|
|
codeql.database.create(
|
|
_env={
|
|
"CODEQL_EXTRACTOR_JAVA_OPTION_BUILDLESS": "true",
|
|
"CODEQL_EXTRACTOR_JAVA_OPTION_BUILDLESS_CLASSPATH_FROM_BUILD_FILES": "true",
|
|
"LGTM_INDEX_MAVEN_TOOLCHAINS_FILE": str(actions_toolchains_file),
|
|
}
|
|
)
|