Skip to content

Instantly share code, notes, and snippets.

View marcelohd's full-sized avatar

Marcelo Henrique marcelohd

View GitHub Profile

Videos

@marcelohd
marcelohd / build.gradle
Created December 2, 2015 16:48 — forked from luciofm/build.gradle
Auto increment version number on release builds... You can change the build type on versionCode.gradle, you also will need to commit and push gradle.properties on your CI
apply from: 'versionCode.gradle'
android {
defaultConfig {
versionName VERSION_NAME
versionCode Integer.parseInt(VERSION_CODE)
}
}