Gradle tip: how to use the archivesBaseName to change the apk name

I am seeing a lot of build.gradle where there are tasks to rename the apks.

I prefer using something different, without use another tasks, setting the archivesBaseName.

For example:

  defaultConfig {
      ....
      project.ext.set("archivesBaseName", "MyName-" + defaultConfig.versionName);

  }

Output:

MyName-1.0.12-release.apk

Comments

  1. I simply couldn’t go away your web site before suggesting that I actually loved the standard info a person provide for your guests? Is gonna be again steadily to inspect new posts.
    토토사이트
    토토사이트

    ReplyDelete
  2. you have a great blog here! would you like to make some invite posts on my blog?
    온라인경마
    온라인경마

    ReplyDelete
  3. Good post. I study one thing more difficult on totally different blogs everyday. It can all the time be stimulating to learn content from different writers and follow a bit one thing from their store.
    바카라
    바카라사이트

    ReplyDelete
  4. Thanks a bunch for sharing this with all people you actually recognise what you’re speaking approximately! Bookmarked.
    토토사이트
    사설토토

    ReplyDelete
  5. Suggestions and ideas are greatly appreciated. Thanks for sharing wonderful post.

    ReplyDelete
  6. I just want to say thank you for one million times to this fabulous article

    ReplyDelete
  7. This blog is awesome. I hope you continue to share these good things

    ReplyDelete
  8. This is really helpful post and very informative there is no doubt about it.

    ReplyDelete
  9. I hope you write more articles like this. I'm your biggest fan.

    ReplyDelete
  10. I'm glad I stumbled into your website!

    ReplyDelete
  11. I genuinely value individuals like you! Be careful!

    ReplyDelete
  12. Thanks for your marvelous posting! I certainly enjoyed reading this article.

    ReplyDelete
  13. Great information you have provided! You have touched on crucuial points!

    ReplyDelete
  14. Pretty great post. Excellent ideas. Thanks for Awesome tips Keep it up!

    ReplyDelete
  15. I enjoyed reading the entire post. This article post is fantastic. Thank you so much for the article. Cool.

    ReplyDelete
  16. I enjoyed this just as much as what you did right here. Thanks a lot, Really Cool.

    ReplyDelete
  17. WOW, this is just what I needed. I arrived here after looking for cheap quest bars.

    ReplyDelete
  18. You must use these strategies on your own site if you want to get the most out of this article.

    ReplyDelete
  19. It was incredibly well done. I genuinely like your ideas.

    ReplyDelete
  20. I admire your effort personally. Your article is excellent and very beneficial to us.

    ReplyDelete
  21. I wish you would write more often. Continue on. Your future is bright.

    ReplyDelete
  22. These services offer guidance and advice on how to produce truly excellent work.

    ReplyDelete
  23. I enjoy your post, and I think you did a great job because everything you give with us is up to date and quite educational.

    ReplyDelete
  24. Your essay taught me something new; you are doing a great job. Keep going!

    ReplyDelete
  25. Thank you for sharing this useful topic and for the amazing article.

    ReplyDelete
  26. I appreciate how valuable you are to your visitors.

    ReplyDelete

Post a Comment

Popular posts from this blog

AntiPattern: freezing a UI with Broadcast Receiver

NotificationListenerService and kitkat

How to centralize the support libraries dependencies in gradle