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.
I am new to the android world. Currently I have
release
anddebug
build type for my android project. I created a boolean variablepushToArtifactory
to telluploadArchives
to upload my aar and pom files to artifactory or install them into my.m2 repository
.However, when I set
publishNonDefault
tofalse
and use commandgradlew 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