Given an artifactory repo with the url:
http://myrepo.myworld.com/my-stuff
that contains a jar immediately at the root of the repo:
http://myrepo.myworld.com/my-stuff/doofus-lib-1.0-SNAPSHOT.jar
no metadata, no pom, no other files except for other versions of the jar, how do I write the repositories
settings and the dependencies
settings so that the jar is included in the build?
Notes:
This solution needs to be something that will build cleanly from a gradle command-line after the download of the git repo. It has to work in our CI/CD system.
I know that I can download the jar, add it to my git repo, and add a
flatDir
config to my gradlerepositories
. I do not want to do this. I don't want to add a large binary file to my git repo.