Showing posts with label Versioning. Show all posts
Showing posts with label Versioning. Show all posts

Monday, April 20, 2015

Gradle tip - Always choose dependencies explicitly

For the sake of your CI process and versioning (the ability to go back in time in your SCM and get the same result) - always use explicit versions in your maven dependencies.
Do:
compile "some.library :21.0.3"
Don't:
compile "some.library :21.0.+"
Also, use the same gradle version (that can be easily achieved using a gradle wrapper) .


Saturday, September 6, 2014

Automatic versioning and increment using Git tags and Gradle

How do you set versions for you Android app? There are many ways at it. At the manifest, at the gradle in a "def", in a version.properties file... But, if you are looking for a cleaner way where you don't have to actually change a file, and it will continuously increment after each commit - here it is.