Android Gradle Git versioning

Version your android app based on git tag and revision

Create git-versioning.gradle in project root

 

Apply script in project level build.gradle

Use defined variables/methods as versionCode and versionName

Build and check gradle logs and verify version applied correctly.

Code can be found here

 

One Reply to “Android Gradle Git versioning”

  1. Hello. I see that you don’t update your site too often. I know that writing content is time
    consuming and boring. But did you know that there is a tool that
    allows you to create new articles using existing content (from article directories or other pages from your niche)?
    And it does it very well. The new articles are unique and pass the
    copyscape test. Search in google and try: miftolo’s tools

Leave a Reply

Your email address will not be published. Required fields are marked *