How to add a jar to a kotlin / java project? Follow
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
Please sign in to leave a comment.
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: https://stackoverflow.com/a/20700183/2000323
For Maven: https://stackoverflow.com/a/4955695/2000323
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.