You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2017/08/11 21:11:45 UTC
[2/3] cordova-plugin-compat git commit: :penguin::wrench: Prevent
plugin from installing with cordova-android >= 6.3.0
:penguin::wrench: Prevent plugin from installing with cordova-android >= 6.3.0
The code used in this plugin has been merged into cordova-android 6.3.0 so the
plugin should not be installed in projects usign 6.3.0 or later.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/commit/1ffe8394
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/tree/1ffe8394
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/diff/1ffe8394
Branch: refs/heads/master
Commit: 1ffe8394e4598925af945e9fb14a4389cca8a4f3
Parents: f0c9644
Author: Simon MacDonald <si...@gmail.com>
Authored: Fri Aug 11 11:10:43 2017 -0400
Committer: Simon MacDonald <si...@gmail.com>
Committed: Fri Aug 11 11:10:49 2017 -0400
----------------------------------------------------------------------
package.json | 15 ++++++++++-----
plugin.xml | 5 +++++
2 files changed, 15 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/blob/1ffe8394/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 94b4b69..b83ad52 100644
--- a/package.json
+++ b/package.json
@@ -21,12 +21,17 @@
"ecosystem:phonegap",
"cordova-android"
],
- "engines": [
- {
- "name": "cordova",
- "version": ">=5.0.0"
+ "engines": {
+ "cordovaDependencies": {
+ "<1.2.0": {
+ "cordova": ">=5.0.0"
+ },
+ "1.2.0": {
+ "cordova": ">=5.0.0",
+ "cordova-android": "<6.3.0"
}
- ],
+ }
+ },
"author": "Apache Software Foundation",
"license": "Apache-2.0"
}
http://git-wip-us.apache.org/repos/asf/cordova-plugin-compat/blob/1ffe8394/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 4e895c2..28e1b73 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -28,6 +28,11 @@
<keywords>cordova,compat</keywords>
<repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-compat.git</repo>
+ <engines>
+ <engine name="cordova" version=">=5.0.0"/>
+ <engine name="cordova-android" version="<6.3.0"/>
+ </engines>
+
<!-- android -->
<platform name="android">
<source-file src="src/android/PermissionHelper.java" target-dir="src/org/apache/cordova" />
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org