You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/10/16 11:51:27 UTC

[GitHub] btrajkovski opened a new issue #516: Adding plugins in android project is very slow

btrajkovski opened a new issue #516: Adding plugins in android project is very slow
URL: https://github.com/apache/cordova-android/issues/516
 
 
   We are automating the build of APKs on CI, but the whole process is taking around 10 minutes and 80% of time is consumed by this phase.
   
   ```
   Discovered plugin "cordova-plugin-statusbar" in config.xml. Adding it to the project
   Installing "cordova-plugin-statusbar" for android
   Adding cordova-plugin-statusbar to package.json
   Saved plugin info for "cordova-plugin-statusbar" to config.xml`.
   ```
   
   These are the plugins from config.xml 
   ```xml
       <plugin name="cordova-plugin-whitelist" spec="1.3.3" />
       <plugin name="cordova-plugin-statusbar" spec="2.4.2" />
       <plugin name="cordova-plugin-device" spec="2.0.2" />
       <plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
       <plugin name="cordova-plugin-ionic-webview" spec="^2.0.0" />
       <plugin name="phonegap-plugin-barcodescanner" spec="^8.0.0">
           <variable name="ANDROID_SUPPORT_V4_VERSION" value="27.+" />
       </plugin>
       <plugin name="cordova-plugin-camera-preview" spec="^0.10.0" />
       <plugin name="cordova-plugin-screen-orientation" spec="^3.0.1" />
       <plugin name="cordova.plugins.diagnostic" spec="^4.0.10" />
       <plugin name="cordova-android-support-gradle-release" spec="^1.4.4">
           <variable name="ANDROID_SUPPORT_VERSION" value="26.+" />
       </plugin>
       <plugin name="cordova-sqlite-storage" spec="^2.4.0" />
       <plugin name="cordova-plugin-ionic-keyboard" spec="^2.1.2" />
       <plugin name="cordova-plugin-camera" spec="^4.0.3" />
   ```
   Is possible to speed up these process by somehow caching the results or any other way to speed up the installation of plugins.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org