mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Rewrite install dir resolution for legacy plugins (#589)
* Improve target-dir restriction for detecting new android project structure used in plugin.xml. (#575) * Clarify old source-file declaration way from the new one and improve ambiguous code. * Better check `src/main` forms. * Replace path search with RegExp vars. * Fix RegExp in order to match `/` or `EOL`. * Remove template strings for NodeJS 4 support (wanted in case we port these changes to `7.1.x` at some point). * Add pointer to deprecation plan in GH-580.
This commit is contained in:
@@ -84,6 +84,8 @@
|
||||
<source-file src="src/android/jniLibs/x86/libnative.so" target-dir="libs/x86" />
|
||||
<source-file src="src/android/DummyPlugin2.java"
|
||||
target-dir="src/com/appco" />
|
||||
<source-file src="src/android/DummyPlugin2.java"
|
||||
target-dir="appco/src" />
|
||||
<lib-file src="src/android/TestLib.jar" />
|
||||
</platform>
|
||||
</plugin>
|
||||
|
||||
Reference in New Issue
Block a user