Android: add Gradle task to output Play Store version code

This commit is contained in:
Braden Farmer 2021-01-12 10:12:07 -07:00
parent 0ce218e20a
commit 7aac0582e3
1 changed files with 6 additions and 0 deletions

View File

@ -169,3 +169,9 @@ String getManifestAttribute(String attribute) {
((String) it.key).contains(attribute)
}.value
}
tasks.register("outputVersionCode") {
doLast {
println getPlayStoreVersionCode()
}
}