I have been "sneaker-netted" a set of jars that I will eventually publish to a Gradle-friendly repo (Artifactory) but that, for the time being, have to stay local on my machine.
I need to use these jars in a Gradle project that not only needs to be able to list these as dependencies
but that also uses the Eclipse plugin to resolve dependencies inside my Eclipse IDE.
These jars all have POMs and have their own transitive dependencies (all of which are in typical repos like Maven Central and JCenter, etc.).
I am looking for a way to save these jars somewhere on my file system but then resolve them like they are normal dependencies
, including resolution of their transitive dependencies, and also for this to be compatible with however the Gradle Eclipse plugin works under the hood.
Again, the desired outcome would be:
- Add these jars as dependencies from, say,
~/special-jars/*
- Whatever dependencies are defined in each "special jar's" POM, resolve those
- When I run
gradle eclipse
, Gradle pulls them in from the file system as well
Is this possible to do? If so, how?