github / maven-plugins

Official GitHub Maven Plugins
MIT License
587 stars 197 forks source link

Install artifacts into different folders in m2 directory #118

Open kevinliao666 opened 8 years ago

kevinliao666 commented 8 years ago

I am new to the android world. Currently I have release and debug build type for my android project. I created a boolean variable pushToArtifactory to tell uploadArchives to upload my aar and pom files to artifactory or install them into my .m2 repository.

However, when I set publishNonDefault to false and use command gradlew clean assemble uploadArchives. aar. and pom files of both release and snapshot are in one folder in m2 directory.

Please let me know if there is a way to specify the archives for each build type to be installed into its own folder separately.

Thanks