Use speaking artifact name
Created by: johnjohndoe
I suggest to change the name of the ouput files which is library-x.y.z.*
at the moment. This is not very self explanatory when I have a list of dependencies such as on VersionEye. To change the name just define the following property in the build.gradle
of the library module:
archivesBaseName = "slidinguppanel"
This will the produce the following output files:
~/.gradle/caches/modules-2/files-2.1/com.sothree.slidinguppanel/slidinguppanel/x.z.y/hash/slidinguppanel-x.y.z.pom
~/.gradle/caches/modules-2/files-2.1/com.sothree.slidinguppanel/slidinguppanel/x.z.y/hash/slidinguppanel-x.y.z.aar
~/.gradle/caches/modules-2/files-2.1/com.sothree.slidinguppanel/slidinguppanel/x.z.y/hash/slidinguppanel-x.y.z-sources.jar
The Gradle dependency would be this:
compile 'com.sothree.slidinguppanel:slidinguppanel:x.y.z'
I know it kind of redundant since the string "slidinguppanel" already appears in the group id. I cannot tell what people agree on as best practice - I did not duplicate the archivesBaseName in my library. You might consider renaming the group id as well in a future release.