Code Monkey home page Code Monkey logo

Comments (7)

nitatemic avatar nitatemic commented on June 25, 2024 5

Hi, thank you for the guide. I got the error below at first, but managed to get around it by changing version of kotlin.jvm in intellij/build.gradle.kts

// Kotlin support
//id("org.jetbrains.kotlin.jvm") version "1.6.10"
id("org.jetbrains.kotlin.jvm") version "1.8.0"

I made the modification you indicated and managed to make a build that works under Webstorm 2022.3.2. Here is my build.
Mintlify Doc Writer-1.2.3.zip

from writer.

oskhel avatar oskhel commented on June 25, 2024 2

Hi, thank you for the guide.
I got the error below at first, but managed to get around it by changing version of kotlin.jvm in intellij/build.gradle.kts

// Kotlin support
//id("org.jetbrains.kotlin.jvm") version "1.6.10"
id("org.jetbrains.kotlin.jvm") version "1.8.0"

The error:

e: /Users/{user}/www/writer/intellij/src/main/kotlin/com/mintlify/document/services/MyProjectService.kt: (9, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /Users/{user}/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/LATEST-EAP-SNAPSHOT/cc032a91ab71245ad3610d01e5eb34d4cee881bc/ideaIC-LATEST-EAP-SNAPSHOT/lib/3rd-party-rt.jar!/kotlin/Unit.class
e: /Users/{user}/www/writer/intellij/src/main/kotlin/com/mintlify/document/services/MyProjectService.kt: (9, 9): Class 'kotlin.io.ConsoleKt' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
The class is loaded from /Users/{user}/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/LATEST-EAP-SNAPSHOT/cc032a91ab71245ad3610d01e5eb34d4cee881bc/ideaIC-LATEST-EAP-SNAPSHOT/lib/3rd-party-rt.jar!/kotlin/io/ConsoleKt.class

Task :compileKotlin FAILED

FAILURE: Build failed with an exception.

from writer.

cokolwiekpl avatar cokolwiekpl commented on June 25, 2024 1

Build created by @nitatemic works with IntelliJ IDEA 2022.3.2 also.

from writer.

shizeying avatar shizeying commented on June 25, 2024 1

go to releases

from writer.

JinChengneng avatar JinChengneng commented on June 25, 2024

Hi Hugo @HookWoods, thank you very much for your step-by-step instructions. I'd like to try it right away. Thanks again!

from writer.

rbouma avatar rbouma commented on June 25, 2024

@HookWoods Thank you very much for this temporarily solution. It was taking too long for Jetbrains to include the new build in the plugin store.

from writer.

Lucarrdt avatar Lucarrdt commented on June 25, 2024

go to releases

thanks this works

from writer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.