Skip to content

Commit

Permalink
CB-9392 Fixed printing flavored versions. This closes #184
Browse files Browse the repository at this point in the history
  • Loading branch information
oNaiPs authored and Vladimir Kotikov committed Jul 20, 2015
1 parent 32b7275 commit 4b3cc67
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bin/templates/project/build.gradle
Expand Up @@ -152,11 +152,8 @@ task cdvPrintProps << {
println('cdvDebugSigningPropertiesFile=' + cdvDebugSigningPropertiesFile)
println('cdvBuildArch=' + cdvBuildArch)
println('computedVersionCode=' + android.defaultConfig.versionCode)
if (android.productFlavors.has('armv7')) {
println('computedArmv7VersionCode=' + android.productFlavors.armv7.versionCode)
}
if (android.productFlavors.has('x86')) {
println('computedx86VersionCode=' + android.productFlavors.x86.versionCode)
android.productFlavors.each { flavor ->
println('computed' + flavor.name.capitalize() + 'VersionCode=' + flavor.versionCode)
}
}

Expand Down

0 comments on commit 4b3cc67

Please sign in to comment.