Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A AndroidSlidingUpPanel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 267
    • Issues 267
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Umano: News Read To You
  • AndroidSlidingUpPanel
  • Issues
  • #332
Closed
Open
Issue created Dec 11, 2014 by Administrator@rootContributor

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.

Assignee
Assign to
Time tracking