Search code examples
javaandroideclipsegradlejcenter

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. 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. It may be because I have not published it on Bintray, but I also do not see any option to publish it anyway.


Solution

  • You need to add Bintray plugin to your Gradle project. Please see the examples.