DEV Community

Developing And Publishing Android Libraries

Adam McNeilly on October 22, 2017

Originally published on Android Essence. Third party libraries are a huge part of mobile app development. Popular tools like Retrofit, RxJava, Pic...
Collapse
 
prokashsarkar profile image
Prokash Sarkar

I found the release zip generation works just by adding the bintray dependency,
"classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'"

And ignoring
"classpath 'com.github.dcendents:android-maven-plugin:1.2'"

Also the,
"android-maven-plugin:1.2" is now moved to a new repo and from the official documentation we should use, "classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'" along with "apply plugin: 'com.github.dcendents.android-maven'" in app module.

Can you please clarify what would be the best approach for adding dependency at this moment?

Collapse
 
kevinkoech profile image
Kevin Kipkirui Koech

Great but I am not finding tutorial to create library from scratch....

Collapse
 
adammc331 profile image
Adam McNeilly

Thanks for the comment! I will try to write one sometime. I'll link here when I do. :)

Collapse
 
ekeneeze profile image
Ekene Eze (Kenny)

Amazing, i've been look for an intensive tutorial on this,pls share links to other relevant resources if you have

Collapse
 
adammc331 profile image
Adam McNeilly

Glad you liked it! Everything I learned I got from the linked post from my friend Eric - room-15.github.io/blog/2015/11/05/...

If you have specific questions, let me know!

Collapse
 
kevinkoech profile image
Kevin Kipkirui Koech

Hey Eze