[
https://issues.apache.org/jira/browse/CB-7980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280851#comment-14280851
]
ASF subversion and git services commented on CB-7980:
-----------------------------------------------------
Commit a08f80571fc12a064c657415a92886c98cc11a8d in cordova-amazon-fireos's
branch refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-amazon-fireos.git;h=a08f805
]
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]