简体   繁体   English

将 bintray 存储库链接到 jcenter

[英]Link bintray repo to jcenter

This is my first time trying to use bintray and jcenter but I created an open source Android library that I published to bintray and now I am trying to link it jcenter so that others can add the dependency to their project.这是我第一次尝试使用 bintray 和 jcenter,但我创建了一个开源 Android 库,并将其发布到 bintray,现在我尝试将它链接到 jcenter,以便其他人可以将依赖项添加到他们的项目中。

I followed several examples on how to upload the project to bintray and they all say that you have the click a button "Add to Jcenter" but I such button does not appear for me.我遵循了几个关于如何将项目上传到 bintray 的示例,他们都说您可以单击“添加到 Jcenter”按钮,但我没有出现这样的按钮。

Here is my project https://bintray.com/tyczj359/MLCamera/mlcamera这是我的项目https://bintray.com/tyczj359/MLCamera/mlcamera

What do I need to do to be able to add my repo to Jcenter?我需要做什么才能将我的存储库添加到 Jcenter?

Your repository is a Generic repository and not a Maven repository.您的存储库是Generic存储库,而不是Maven存储库。
You need to open a Maven repository and upload the files to a package in this repository.您需要打开Maven存储库并将文件上传到此存储库中的包。
You can follow this guide .您可以按照本指南进行操作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM