How to add a jar to a kotlin / java project?


Dear JetBrains Community,

I'm currently testing out the new Fleet IDE and I'm really excited by how it works and looks.

For my current project, I have to add a .jar file to my project module, but I don't know how to do that. 

Maybe you can help me.

Kind regards, Finder

Comment actions Permalink

Do you use Maven or Gradle for managing dependencies. To add a dependency on a local jar you should use Maven or Gradle means.

For Gradle:

For Maven:

Comment actions Permalink


thank you Andrey Dernov for helping me with my problem.

I use Maven for managing my dependencies, forgot to write that in my question.

mvn install did the trick. 





Please sign in to leave a comment.