Artifactory - Get Artifact URL for Gradle dependencies
Ayman Patel
Back End Engineer @ MastercardWhat?
JFrog dropping support for artifacts
So What?
All builds with repositories {...} which fetches from jcenter() artifactory URL will fail from May 1st.
Now What?
Since gradle build --scan publishes to Gradle Repo, need a Task/Script to get URLs of dependencies.
build.gradle.getURLofDependencyArtifact:
NOTE: Gives local .m2 URL as well as only for root (and not transitive dependencies) defined in build.gradle