Kotlin logo

The Kotlin Blog

Kotlin Programming Language by JetBrains

Native Releases Tools

Kotlin/Native 0.8.2 Released

We are happy to announce the 0.8.2 release of Kotlin/Native. In addition to the bug fixes and improvements, we have introduced support for Kotlin/Native Gradle projects directly in CLion!

Downloading Kotlin/Native

Update your CLion and Kotlin/Native for CLion plugin to the latest versions.

Check out the GitHub release page for more details or download binaries for macOSLinuxWindows. A Linux Snap package is also available.

Gradle Projects Support

Up until now, you were forced to use CMake projects to develop Kotlin/Native code in CLion. Some of you were using the Gradle task to generate a temporary CMake project instead. We deprecated the CMake support some time ago. The process was tricky and painful. Not anymore! Starting from the 0.8.2 release, you can open your Kotlin/Native Gradle projects directly in CLion, as easily as you would open your Gradle C++ projects with it. There is no need to use our deprecated CMake support anymore.


You can start a new Gradle project with one of the included New Project templates:


Or create an empty settings.gradle.kts file, place sources under src/main/kotlin folder, and create a new build.gradle.kts file with the following content:

You may want to checkout the Gradle Plugin Documentation for more details.

Starting from this release, we no longer support CMake for Kotlin/Native projects in CLion.

Have fun with Kotlin/Native!

Comments below can no longer be edited.

13 Responses to Kotlin/Native 0.8.2 Released

  1. Markus Böck says:

    August 25, 2018

    Very nice was waiting for this feature. One little quirk I have noticed for now is that compiler errors are currently only shown if one uses gradle as console instead of the other view. It would also be nice to get pretty printers for gdb!

  2. re says:

    August 25, 2018

    a dedicated Kotlin IDE makes more sense than Go

    • Jacob says:

      September 3, 2018

      Kotlin is a product of Jetbrains yet the full feature set is not available in a single Jetbrains IDE.

      I’m sure they’re aware of how silly that makes them look and hope that they will address it before Kotlin/Native 1.0.

  3. Alex Zhukov says:

    August 25, 2018

    Wasn’t able to set debug breakpoint or setup run configuration
    ./gradlew run works
    Kotlin/Native support 182.4129.59
    gradle and gradle native installed
    clion 2018.2.2
    what am i doing wrong

    • Vyacheslav Karpukhin says:

      August 27, 2018

      What project are you opening?

  4. Jesus Zazueta says:

    August 26, 2018

    Hi. Sorry, it’s not working for me. I’ve updated the Kotlin Native plugin and I’m trying out the sample projects, but the IDE doesn’t seem to be aware of the sample project structure.

    Version: 182.4129.59

    • Vyacheslav Karpukhin says:

      August 27, 2018

      When opening the sample projects, please open the root build.gradle file (samples/build.gradle)

  5. Campbell Jones says:

    August 30, 2018

    Not working for me. CLion doesn’t index the sample project files, I can’t add a run configuration. Running through Gradle works, but the IDE doesn’t recognize anything.

    • Vyacheslav Karpukhin says:

      August 31, 2018

      Did you update the plugin to the latest version? What project are you trying to open? Have you tried creating a new project from a template?

      • Campbell Jones says:

        August 31, 2018

        Plugin is at the latest version. I’m creating a project from the Hello World template.

  6. Salomon BRYS says:

    September 4, 2018

    Does CLion supports :
    – multiplatform projects with expect/actual declarations ?
    – gradle dependencies either via the old plugin or the new ?

    A quick test I’ve made seems to indicate it does not.
    If it indeed does not, when can we expect it ?

    • Vyacheslav Karpukhin says:

      September 4, 2018

      MPP are not yet supported, but native gradle dependencies should be processed correctly, at least using the old plugin.

Discover more