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 2020/04/13 02:55:07 UTC

[GitHub] [cordova-android] breautek commented on issue #627: It is a question about the version of gradle used

breautek commented on issue #627: It is a question about the version of gradle used
URL: https://github.com/apache/cordova-android/issues/627#issuecomment-612725924
 
 
   The project defines the gradle version to use, and downloads a "gradle wrapper" (`gradlew`) that is installed locally to the android project.
   
   In normal android projects, the gradle version is defined in a gradle config like in https://github.com/apache/cordova-android/blob/master/test/android/wrapper.gradle
   
   Cordova does some manually stuff manually, but will generate a file similar to the one I linked above for your android project.
   
   The main gradle executable (`gradle`) will be searched for in the `PATH` system variable, and if missing, it may search for locations in the android studio/sdk directory. But Google tends to move things around frequently so relying on the fallback isn't very reliable.
   
   Hope this helps. If you have further questions, I invite you to ask on our [slack](http://slack.cordova.io/)
   
   @brodybits I'm not sure what exactly should be documented. Most of this I don't think is relevant to most users, maybe only to plugin developers? But if you think something should be documented, then perhaps raise an issue on [cordova-docs](https://github.com/apache/cordova-docs)?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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