使用git叉作为gradle依赖性-KMM项目

发布于 2025-01-30 04:13:49 字数 926 浏览 2 评论 0原文

我正在尝试添加我的git fork( https://github.com/octagonmobile/nier-visalizar-visalizer )作为gradle依赖性,因为我需要在原始回购中更改一些代码。

因此,我正在尝试使用jitpack.io,这对我不起作用。 我在root build.gradle.kts文件中添加了mavel url'https://jitpack.io'。

以及在Android App的build.gradle.kts文件中,我添加了依赖项为实现(“ com.github.octagonmobile:nier-visualizer:0.1.4”)

但是出于某种原因,IDK并没有下载依赖关系。我得到错误“无法获得'https://jitpack.io/com/com/github/octagonmobile/nier-visualizer/0.1.4/nier-visalizer-0.1.4.4.pom'”。

请提前帮助。我是Android的新手,所以请对我轻松:P

I am trying to add my git fork (https://github.com/OctagonMobile/Nier-Visualizer) as gradle dependency as I need to change some code in original repo.

So I am trying to use jitpack.io, which is not working for me.
I have added mavel url 'https://jitpack.io' in root build.gradle.kts file.
enter image description here

and in android app's build.gradle.kts file I've added dependency as implementation("com.github.OctagonMobile:Nier-Visualizer:0.1.4")
enter image description here

But Idk for some reason, its not downloading the dependency. I get error "Could not GET 'https://jitpack.io/com/github/OctagonMobile/Nier-Visualizer/0.1.4/Nier-Visualizer-0.1.4.pom'".

Please help thanks in advance. I am new to android so please go easy on me :p

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

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

发布评论

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