add printVersionName gradle task
This commit is contained in:
parent
1adf073de6
commit
2604baa221
2 changed files with 5 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -60,7 +60,6 @@ buck-out/
|
|||
|
||||
# Other Files
|
||||
app/google-services.json
|
||||
app/src/main/assets/index.android.bundle
|
||||
*.log
|
||||
.vagrant
|
||||
*.hprof
|
||||
|
|
|
@ -41,7 +41,12 @@ android {
|
|||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task printVersionName {
|
||||
doLast {
|
||||
println android.defaultConfig.versionName
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
Loading…
Reference in a new issue