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/11/20 10:32:31 UTC

[GitHub] [cordova-android] mosabab opened a new issue #1378: Ability to set GRADLE_VERSION via config.xml preference

mosabab opened a new issue #1378:
URL: https://github.com/apache/cordova-android/issues/1378


   # Feature Request
   
   ## Motivation Behind Feature
   <!-- Why should this feature be implemented? What problem does it solve? -->
   
   
   
   ## Feature Description
   <!--
   Describe your feature request in detail
   Please provide any code examples or screenshots of what this feature would look like
   Are there any drawbacks? Will this break anything for existing users?
   -->
   The users can set GRADLE_VERSION via `config.xml` file as a preference like:
   `<preference name="GRADLE_VERSION" value="7.3" />`
   
   This can help users to integrate with latest version of Gradle before produce new version of `cordova-android`, so no need to wait until any new version of `cordova-android`.
   
   
   ## Alternatives or Workarounds
   <!--
   Describe alternatives or workarounds you are currently using
   Are there ways to do this with existing functionality?
   -->
   
   
   


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


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

Posted by GitBox <gi...@apache.org>.
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