Github user russaa commented on the issue:

    https://github.com/apache/cordova-android/pull/396
  
    @infil00p I was not aware of this patch (I believe it is CB-12065 #387).
    
    I guess it would solve the issue for Windows right now -- but does not 
address the PATH problem (for Windows) in future versions of `cordova-android`, 
when `gradle` becomes a requirement.
    
    So in view of this future change, I would argue for the (additional) use of 
env variables (i.e. offer users to specify an env variable), because
     * it's basically platform independent, in difference to #387, which is 
fully automatic, but only works on Windows -- e.g. with env variables, if you 
have `gradle` and Android Studio installed on a *nix system, you can configure 
Cordova to use Android Studio's `gradle` quite easily
     * it's a low maintenance mechanism (i.e. implementation requires mostly no 
adjustments, when software paths/structures change), since users are 
responsible for providing the correct path
    
    So I would very much like to have the option, to specify the `gradle` 
location via an env variable in the future (i.e. when `gradle` will be declared 
a requirement), instead of having to install `gradle` separately, and put it 
into the PATH variable.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to