CodeQL adds beta support for Kotlin! 🚀 #11460
Replies: 5 comments 38 replies
-
I tried to enable Kotlin analysis in here, but the build after initializing CodeQL is running into @turbo, can it really be that a build after CodeQL initialization takes more memory? PS: I tried with autobuild first, but changed to a manual build step after I saw the same memory issue originally there. |
Beta Was this translation helpful? Give feedback.
-
Hey @turbo , I've been following this closely because this was a requested language for us! Am I correct to assume that in your CodeQL file you have to add both Thank you! |
Beta Was this translation helpful? Give feedback.
-
So, I've run into a new problem now. After increasing the heap memory helped to complete a CodeQL scan, three Can it be that CodeQL cannot deal with Kotlin's |
Beta Was this translation helpful? Give feedback.
-
I integrated CodeQL into my Kotlin project but the action log and CSV show that Kotlin files weren't extracted. Is there something that needs to be done to let CodeQL know that there are Kotlin files present? |
Beta Was this translation helpful? Give feedback.
-
Hi there, Looks like support for Kotlin actually means support for Kotlin code only targeting JVM, is that assumption correct? |
Beta Was this translation helpful? Give feedback.
-
Starting today, GitHub code scanning includes beta support for analyzing code written in Kotlin, powered by the CodeQL engine.
Kotlin is a key programming language used in the creation of Android mobile applications, and is an increasingly popular choice for new projects, augmenting or even replacing Java. To help organisations and open source developers find potential vulnerabilities in their code, we’ve added Kotlin support (beta) to the CodeQL engine that powers GitHub code scanning. CodeQL now natively supports Kotlin, as well as mixed Java and Kotlin projects. Set up code scanning on your repositories today to receive actionable security alerts right on your pull-requests. To enable Kotlin analysis on a repository, configure the code scanning workflow languages to include java.
CodeQL support for Kotlin has already been used to identify novel real-world vulnerabilities in popular apps, from task management to productivity platforms. You can watch the GitHub Universe talk on how CodeQL was used to identify vulnerabilities like these here.
Kotlin beta support is available by default in GitHub.com code scanning, the CodeQL CLI, and the CodeQL extension for VS Code. GitHub Enterprise Server (GHES) version 3.8 will include this beta release.
If you have any feedback or questions, please use this discussion thread or open an issue if you encounter any problems.
Beta Was this translation helpful? Give feedback.
All reactions