Skip to content

Commit 5a61bf0

Browse files
committed
Kotlin: The 2.20.3 release supports Kotlin 2.1.10.
1 parent 797fb30 commit 5a61bf0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: src/init-action.ts

+9
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,15 @@ async function run() {
539539
core.exportVariable("CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN", "true");
540540
}
541541

542+
const kotlinLimitVar =
543+
"CODEQL_EXTRACTOR_KOTLIN_OVERRIDE_MAXIMUM_VERSION_LIMIT";
544+
if (
545+
(await codeQlVersionAtLeast(codeql, "2.20.3")) &&
546+
!(await codeQlVersionAtLeast(codeql, "2.20.4"))
547+
) {
548+
core.exportVariable(kotlinLimitVar, "2.1.20");
549+
}
550+
542551
if (config.languages.includes(Language.cpp)) {
543552
const envVar = "CODEQL_EXTRACTOR_CPP_TRAP_CACHING";
544553
if (process.env[envVar]) {

0 commit comments

Comments
 (0)