如何通过 jitpack.io 访问 public bitbucket 存储库?
How to access a public bitbucket repo via jitpack.io?
我想在我的 gradle 项目中使用 public bitbucket project rxlint 的最新版本代码。但是我不知道该用哪个URL。
我尝试在 https://jitpack.io/ 上输入一些 URL(见下文)- 但没有成功。错误信息总是:
Repo not found or no access token provided
并且因为这个 repo 是 public,我想,我只是为 URL
使用了错误的格式
URL的我试过没有成功:
- org.bitbucket.littlerobots/rxlint
- https://bitbucket.org/littlerobots/rxlint
- https://bitbucket.org/littlerobots/rxlint/src
- git+ssh://git@bitbucket.org/littlerobots/rxlint.git
- V1.2 标签:https://bitbucket.org/littlerobots/rxlint/src/a5e5d85b8358f74b33f5844ff154c80bc10d0009/?at=v1.2
- 提示标签:https://bitbucket.org/littlerobots/rxlint/src/462cbb708d8897480fc327e736acde50377b4e2c/?at=tip
该项目作为 Mercurial (hg) 存储库托管在 Bitbucket 上。 JitPack 仅支持 Git 个存储库。
您需要为此存储库创建 authToken:
https://jitpack.io/docs/PRIVATE/#bitbucket
为了查找和管理 Bitbucket 存储库,您应该将应用程序密码添加到您的 JitPack 帐户:
单击您的用户名 (https://jitpack.io/w/user)
输入您的 Bibucket 用户和应用密码
我想在我的 gradle 项目中使用 public bitbucket project rxlint 的最新版本代码。但是我不知道该用哪个URL。
我尝试在 https://jitpack.io/ 上输入一些 URL(见下文)- 但没有成功。错误信息总是:
Repo not found or no access token provided
并且因为这个 repo 是 public,我想,我只是为 URL
使用了错误的格式URL的我试过没有成功:
- org.bitbucket.littlerobots/rxlint
- https://bitbucket.org/littlerobots/rxlint
- https://bitbucket.org/littlerobots/rxlint/src
- git+ssh://git@bitbucket.org/littlerobots/rxlint.git
- V1.2 标签:https://bitbucket.org/littlerobots/rxlint/src/a5e5d85b8358f74b33f5844ff154c80bc10d0009/?at=v1.2
- 提示标签:https://bitbucket.org/littlerobots/rxlint/src/462cbb708d8897480fc327e736acde50377b4e2c/?at=tip
该项目作为 Mercurial (hg) 存储库托管在 Bitbucket 上。 JitPack 仅支持 Git 个存储库。
您需要为此存储库创建 authToken:
https://jitpack.io/docs/PRIVATE/#bitbucket
为了查找和管理 Bitbucket 存储库,您应该将应用程序密码添加到您的 JitPack 帐户:
单击您的用户名 (https://jitpack.io/w/user)
输入您的 Bibucket 用户和应用密码