You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/12/21 13:09:18 UTC

[GitHub] [cordova-android] almothafar commented on issue #1378: [Feature-Request] Ability to set GRADLE_VERSION via config.xml as a preference

almothafar commented on issue #1378:
URL: https://github.com/apache/cordova-android/issues/1378#issuecomment-998765372


   I think you can set environment variable of `CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL` with the URL of Gradle, I have that in the docker image https://github.com/capellasolutions/ionic-cordova-docker 
   
   ```docker
   ARG GRADLE_VERSION
   ENV CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL https\\://services.gradle.org/distributions/gradle-${GRADLE_VERSION:-7.2}-all.zip
   ```


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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