[
https://issues.apache.org/jira/browse/CB-7980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14258436#comment-14258436
]
ASF subversion and git services commented on CB-7980:
-----------------------------------------------------
Commit 7cfb33d0ef057ec5cbe23c30b4ac0c8dd504933c in cordova-android's branch
refs/heads/4.0.x from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=7cfb33d ]
CB-7980 Add --minSdkVersion and --versionCode flags to cordova/build command
These are also exposed via environment variables: ANDROID_VERSION_CODE,
ANDROID_MIN_SDK_VERSION
This also fixes build.gradle modifying the value set by ANDROID_VERSION_CODE
when multi-apk is enabled (override should never be modified)
> Multi-APK building depending on webview
> ---------------------------------------
>
> Key: CB-7980
> URL: https://issues.apache.org/jira/browse/CB-7980
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Reporter: Mark Koudritsky
> Assignee: Andrew Grieve
>
> Set versionCode depending on whether we are building multiple APKs and which
> minSdkVersion is set.
> versionCode = (major * 10,000 + minor * 100 + micro) * 10
> Then the last digit is set to
> 8: if minSdkVersion is 14+ (Minimum requirement for crosswalk)
> 9: if minSdkVersion is 20+ (Minimum requirement for auto-updated system
> webview)
> 0: crorss-platfrom but minSdkVersion < 20
> 2: arm 32
> 3: reserved for arm64
> 4: x86
> 5: reserved for x86-64
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]