valb3r / flowable-bpmn-intellij-plugin

Flowable, Activiti, Camunda BPMN engines process editor plugin for IntelliJ. Pure Kotlin (and some Java)
https://plugins.jetbrains.com/plugin/14318-flowable-bpmn-visualizer
MIT License
161 stars 33 forks source link

How to build the project in my own computer #394

Open EricYHan opened 5 months ago

EricYHan commented 5 months ago

I am new to kotlin, gradle and idea plugins. I clone the projected and run "./gradlew clean :flowable-intellij-plugin:runIde". But i meet this error: image This is my idea gradle configuration: image This is my project structure configuration: image Am I using wrong version of gradle and jvm? I am confused please help me. Thanks a lot

valb3r commented 5 months ago

@EricYHan Looks like something went wrong with Gradle task resolution. You can do the following:

  1. Ensure Java 17 is used for gradle in your terminal:

    Screenshot 2024-06-17 at 10 25 32
  2. ./gradlew clean build buildPlugin

  3. ./gradlew clean :flowable-intellij-plugin:runIde

After ./gradlew clean build buildPlugin both running from terminal and from IntelliJ-Gradle:

Screenshot 2024-06-17 at 10 27 25

should work