add printVersionName gradle task

This commit is contained in:
Akinwale Ariwodola 2020-04-28 14:34:50 +01:00
parent 1adf073de6
commit 2604baa221
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View file

@ -60,7 +60,6 @@ buck-out/
# Other Files
app/google-services.json
app/src/main/assets/index.android.bundle
*.log
.vagrant
*.hprof

View file

@ -41,7 +41,12 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
task printVersionName {
doLast {
println android.defaultConfig.versionName
}
}
dependencies {