DEV Community

Discussion on: Developing And Publishing Android Libraries

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?