Reputation: 4734
I have two projects. Project A is my general utility library that is updated A LOT (at least few times a day). Project B is application I currently work on. Project B imports Project A as library. Can I force IntelliJ IDEA to compile Project A (ideally only when it's needed, i.e. Project A has been modified) during compilation of Project B? I don't want to build Project A by hand each time I fix bug in my library as it's inconvenient and error prone.
Upvotes: 2
Views: 3254
Reputation: 401915
Just use the module dependencies. Everything will be compiled incrementally and automatically when you make any change, either in a library or in the client code.
Upvotes: 2