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
|
# Other Files
|
||||||
app/google-services.json
|
app/google-services.json
|
||||||
app/src/main/assets/index.android.bundle
|
|
||||||
*.log
|
*.log
|
||||||
.vagrant
|
.vagrant
|
||||||
*.hprof
|
*.hprof
|
||||||
|
|
|
@ -41,7 +41,12 @@ android {
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
task printVersionName {
|
||||||
|
doLast {
|
||||||
|
println android.defaultConfig.versionName
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
Loading…
Reference in a new issue