codeql icon indicating copy to clipboard operation
codeql copied to clipboard

Test kotlin support

Open weddige opened this issue 3 years ago • 1 comments

Description of the issue

I'm aware, that kotlin support is not official yet (https://github.com/github/roadmap/issues/207). However, codeql already contains a kotlin extractor. Is it somehow possible to use that to create a database?

Looking ath the file types in \java\codeql-extractor.yml, I assumed it should be possible to run codeql with -l java, but so far my database didn't contain any code.

file_types:
  - name: java
    display_name: Java sources
    extensions:
      - .java
  - name: kotlin
    display_name: Kotlin sources
    extensions:
      - .kt

Any help to test the (currently unfinished and unsupported) kotlin support would be appreciated.

weddige avatar Sep 27 '22 13:09 weddige

Currently Kotlin support is not available. As the linked issue sates we are aiming to have a public beta in Q4 of this year.

alexet avatar Sep 28 '22 18:09 alexet

Kotlin is now available: https://github.blog/changelog/2022-11-28-codeql-code-scanning-launches-kotlin-analysis-support-beta/

turbo avatar Nov 29 '22 12:11 turbo