简体   繁体   English

上传eclipse项目/库以用作gradle依赖项

[英]Upload eclipse project/library for use as a gradle dependency

I have a library that is being built in Eclipse, but I would like to upload it to jCenter to be used as a gradle dependency in an Android Studio project. 我有一个在Eclipse中构建的库,但是我想将其上载到jCenter,以用作Android Studio项目中的gradle依赖项。 I have tried building the gradle files in Eclipse, making a Bintray account, and trying to link it to jCenter but nothing seems to go through. 我尝试在Eclipse中构建gradle文件,创建Bintray帐户,并尝试将其链接到jCenter,但似乎没有任何反应。 It may be because I have not published it on Bintray, but I also do not see any option to publish it anyway. 可能是因为我没有在Bintray上发布它,但是无论如何我也看不到任何选择来发布它。

You need to add Bintray plugin to your Gradle project. 您需要将Bintray插件添加到Gradle项目中。 Please see the examples . 请参阅示例

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

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