I have class that contains all functions that are repeating themself through current plugins written by me. I want to extract this class and use it as dependencies (jar) in my projects.
I tried many tutorials from JetBrains and I still cant use It as dependency jar in my plugins. Can you help me with this? Where can I find the correct documentation?
Hello,
You need to create a separate project for your library. Pack it with maven, gradle or any way you want it to be packed, and then use the jar file as dependency in your other project.
In your other project you can reference your library in two ways:
1. You can put your jar file in artifactory, nexus or something like this and reference it
2. You can store the jar in the file system and reference it from this folder.
You can read more about it here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.