I would like to publish my android library to maven repo ( for now only local repository) so i use maven-publish
plugin and use terminal gradle publishToMavenLocal
command to do that.
Is there any possibility to add that command to build.gradle so the publishing task will trigger always on build?
And the second question, is there any possibility to add dependency to pom file automatically from aar , because gradle dont do that by default, for now I'm using solution found here Gradle not including dependencies in published pom.xml.
Cheers Wojtek