依赖项未从Jfrog文物中下载使用Gradle

发布于 2025-01-17 22:23:08 字数 212 浏览 2 评论 0原文

构建后,我将项目 jar 发布在 Jfrog 工件中。现在,当其他一些项目想要下载它及其依赖项时,他们已将其添加为 build.gradle 文件中的依赖项。但是,当我们尝试执行“gradle依赖项”时,仅下载项目jar而不是其依赖项。 有人可以帮忙解释为什么依赖项没有被下载吗?

注意:项目 jar 的 pom.xml 未上传到artifactory。下载项目 jar 的依赖项是绝对必需的吗?

I have my project jar published in Jfrog artifactory after being build. Now when some other project wants to download this and its dependencies, they have added it as a dependency in their build.gradle file. However, when we are trying to execute "gradle dependencies", only the project jar is being downloaded and not its dependencies.
Can someone help why the dependencies are not being downloaded.

Note: The pom.xml for the project jar is not uploaded to artifactory. Is this absolutely mandatory for downloading dependencies for project jar ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文