[ 
https://issues.apache.org/jira/browse/CB-12500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhuisui updated CB-12500:
-------------------------
    Description: After I set CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL env  
starting with /, `cordova build` print error, and it shows that cordova read 
gradle path as 
'$project/platforms/android/gradle/wrapper$CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'.
 So it treat this url starting with / as a relative path.   (was: After I set 
CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL env  starting with /, `cordova build` 
print error, and it shows that cordova read gradle path as 
'$project/platforms/android/gradle/wrapper$CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'.
 So it treat this url starting with / a relative path. )

> CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL behave wrongly on Ubuntu
> ----------------------------------------------------------------
>
>                 Key: CB-12500
>                 URL: https://issues.apache.org/jira/browse/CB-12500
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 6.5.0
>         Environment: Ubuntu 16.10
>            Reporter: zhuisui
>
> After I set CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL env  starting with /, 
> `cordova build` print error, and it shows that cordova read gradle path as 
> '$project/platforms/android/gradle/wrapper$CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'.
>  So it treat this url starting with / as a relative path. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to