-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.xml
executable file
·66 lines (57 loc) · 2.66 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-curl"
version="0.3.0">
<name>Curl</name>
<description>Wrapper for native Curl</description>
<license>MIT</license>
<repo>https://github.com/MoemenMostafa/cordova-curl.git</repo>
<issue>https://github.com/MoemenMostafa/cordova-curl/issues</issue>
<engines>
<engine name="cordova-android" version=">=4.0.0-dev" />
</engines>
<js-module src="www/curl.js" name="curl">
<clobbers target="curl"/>
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Curl">
<param name="android-package" value="ru.appsm.curl.CordovaWrapper"/>
<param name="onload" value="true" />
</feature>
</config-file>
<framework src="curl.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/CordovaWrapper.java" target-dir="src/ru/appsm/curl" />
<source-file src="src/android/Result.java" target-dir="src/ru/appsm/curl" />
<source-file src="src/android/Android.mk" target-dir="jni" />
<source-file src="src/android/Application.mk" target-dir="jni" />
<source-file src="src/android/testlibrary.cpp" target-dir="jni" />
<source-file src="src/android/testlibrary.h" target-dir="jni" />
<source-file src="src/android/jniLibsCurl/" target-dir="jni"/>
<source-file src="src/android/jniLibsCurl/include/curl/" target-dir="jni/"/>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Curl">
<param name="ios-package" value="CDVCurl" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/CDVCurl.h"/>
<source-file src="src/ios/CDVCurl.m"/>
<framework src="Security.framework"/>
<framework src="libz.dylib" />
<source-file src="src/ios/libcurl.a" framework="true" />
<header-file src="src/ios/curl/curl.h" />
<header-file src="src/ios/curl/curlbuild.h" />
<header-file src="src/ios/curl/curlrules.h" />
<header-file src="src/ios/curl/curlver.h" />
<header-file src="src/ios/curl/easy.h" />
<header-file src="src/ios/curl/mprintf.h" />
<header-file src="src/ios/curl/multi.h" />
<header-file src="src/ios/curl/stdcheaders.h" />
<header-file src="src/ios/curl/typecheck-gcc.h" />
</platform>
</plugin>