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
cannot use proxy for gradle #25
Comments
Hey, thanks for the compliment. |
unfortunately some maven and gradle repositories have restrictions in my country. |
Aw ok, so that will happen whenever you use Gradle, you should try to find an alternative solution like changing your DNS's to the google ones or openDNS so you can solve your problem forever ;) |
umm... ok I know but it would be much better if you could include a gradle.properties when you want to run gradle build command which includes:
I thought it would be easy. otherwise thanks again for your fast reply. |
Didn't know about this, so you're saying that if I add a gradle.properties with this:
it will work for you? |
Yes sure, in my case I use polipo so i use it like this without username and pass
One for http and one for https. Also you can do it without creating a gradle.properties file, but also with cli
I think this one should be easier to implement for you as you don't need to creat a new file. So you can add it to dryrun cli for example like this too: Hope these would help ;) |
thanks for your great job,
I want to request a feature if it's not exists already. I want to add http and https proxy for gradle when fetching dependencies but I can not find any option.
The text was updated successfully, but these errors were encountered: