How to add external dependencies to an IntelliJ plugin project?
Hello,
I'm creating an IntelliJ Idea custom plugin for the first time and I want to re-use some code in it, which is located in external dependencies, i. e. my local Maven repository.
How can I attach those libraries to the plugin project?
Thanks in advance
Dmitri
Please sign in to leave a comment.
You can use Gradle as underlying build system, see http://www.jetbrains.org/intellij/sdk/docs/tutorials/build_system.html
Hello,
Thanks.
When I try to run the application as explained in the tutorial, I get this error:
17:27:16: Executing external task 'runIdea'...
My JVM settings can be found here: http://imgur.com/a/3UFgb
What do I need to change to fix that error?
Hi Dmitri,
I don't think this error message is related to gradle-intellij-plugin or IDEA project configuration, looks like it's problem of gradle itself. Please check your daemon settings at `~/.gradle/gradle.properties`.
Hello, Alexander!
I don't see gradle.properties in C:\Users\pisarenko\.gradle.
Is this a problem?
No, it's ok, but now I don't know how to help. I found these issues: https://youtrack.jetbrains.com/issue/IDEA-150625 and http://stackoverflow.com/questions/30642954/gradle-in-android-studio-giving-error-project-sync-failed. Maybe workarounds from that topics would be helpful.