Home > front end >  How to use classes from one project in another project
How to use classes from one project in another project

Time:12-22

I am building a custom Java library. I keep most of my "repeated" codes there, like file handling, string processing, etc. Each time I want to use them, I have to copy and paste the class into the other project(s) I'm on. Is there a way I can make this custom library class into a "dependency"? I'm using IntelliJ as my IDE.

CodePudding user response:

you can add the master project as a jar (dependency) to your projects.

  • Related