Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle check does not take into account "distributionUrl: " #3

Closed
dixonl90 opened this issue Nov 24, 2015 · 4 comments
Closed

Gradle check does not take into account "distributionUrl: " #3

dixonl90 opened this issue Nov 24, 2015 · 4 comments
Labels

Comments

@dixonl90
Copy link

When checking for the latest version of Gradle the script does not ignore the "distributionUrl: " portion of the line, resulting in a false positive.

distributionUrl: https\://services.gradle.org/distributions/gradle-2.9-all.zip -> https\://services.gradle.org/distributions/gradle-2.9-all.zip

@Jintin
Copy link
Owner

Jintin commented Nov 24, 2015

if you add -g in command it will check the distributionUrl as well by origin design.
But if you already have 2.9-all, it should not show 2.9-all again.
Is that the situation you facing?

@dixonl90
Copy link
Author

Yes, i'm using it with the "g" flag but my version is already 2.9-all.

@Jintin
Copy link
Owner

Jintin commented Nov 25, 2015

I think it the empty char or \n matter, I trim the string in v1.4.3.
Please update or reinstall and try again.
Thank you for your report.

@Jintin Jintin closed this as completed Nov 25, 2015
@dixonl90
Copy link
Author

Works as expected in 1.4.3. Thanks.

@Jintin Jintin added the bug label Dec 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants