I have made a Java interface that I will be using for a lot of different task over the next few months. I was wondering if there is a way to 'integrate' it into IntelliJ, so that I don't have to copy-paste it to every new module?
Perhaps similar to this:
import java.beans.PropertyChangeListener;
This is what my interface contains, and I would like to have it as an importable class, so that whenever I need to use it, I can just add the implements PropertyChangeSubject. This is for my own work and does not need to be shared with anyone.
import java.beans.PropertyChangeListener;
public interface PropertyChangeSubject {
  void addPropertyChangeListener(String var1, PropertyChangeListener var2);
  void addPropertyChangeListener(PropertyChangeListener var1);
  void removePropertyChangeListener(String var1, PropertyChangeListener var2);
  void removePropertyChangeListener(PropertyChangeListener var1);
}
I have tried to add it as a jar file to the global library, and while it show up, I could not make any class interact with it. The jar file was made with command prompt, so if there's a special way it needs to be done, then I probably did it wrong.
 
     
    