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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.