I have 3 projects: shared1, shared2, app1 and app2.
Now when I build them, I get 4 individual JARs. But I want app1 and app2 (which both depend on shared1 and shared2) to work standalone.
I know that I could merge the JAR files, but seems fragile. I’d rather somehow have Gradle build app1 by using the source directories of shared1, shared2 and app1.
How do I make that work?