I am building multi project build consisting of following projects
To be able to compile jar1, I have added the necessary dependencies pointing to mavenCentral()
unfortunately, some of the source code in jar1 requires some libraries that are not stored in mavenCentral or other places.
To solve the problem I have added a new subproject called localJars
The project loads the plug-in “maven-publish”. For each jar file stored in the project /lib, the project specifies artifactID,groupID,version.
Using the task publish I can store all specified jars in my local mavenRepo, at this point, jar1 (or war1, war2) can include mavenLocal() as repo.
I was wondering if I could somehow avoid the need of publishing locally?
Is it possible to have a gradle project that contains under /lib some jar files, and enrich them with artifactID,groupID,version making the available as dependencies the the other projects of the multi project build?