Skip to content

Kotlin version 2.0.20 is too recent. CodeQL currently supports versions below 2.0.10 #18381

Closed
@rseeton

Description

@rseeton

CodeQL running in a Enterprise installation is reporting a Kotlin version issue.

During the CodeQL Init action:

Successfully loaded extractor Java/Kotlin (java) from /__w/_tool/CodeQL/2.17.6/x64/codeql/java.
Created skeleton CodeQL database at /__w/_temp/codeql_databases/java. This in-progress database is ready to be populated by an extractor.

During the Gradle Build execution:

Task :build-settings-logic:processResources
e: com.semmle.extractor.java.interceptors.KotlinInterceptor$KotlinVersionTooRecentError: Kotlin version 2.0.20 is too recent. CodeQL currently supports versions below 2.0.10
at com.semmle.extractor.java.interceptors.KotlinInterceptor.getExtractorJarPath(KotlinInterceptor.java:213)

at com.semmle.extractor.java.interceptors.KotlinInterceptor.beforeKotlinExecute(KotlinInterceptor.java:539)
Task :build-settings-logic:compileKotlin FAILED

This leads to a workflow failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions