Comments (6)
Hey, thanks for the compliment.
You mean provide a proxy because you can't access maven?
from dryrun.
unfortunately some maven and gradle repositories have restrictions in my country.
from dryrun.
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 ;)
Don't get me wrong but that's not quite dryrun's problem so to speak.
Best of luck and say something when you find a solution 👍
from dryrun.
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:
systemProp.https.proxyHost=user entered host
systemProp.https.proxyPort=user entered port
systemProp.http.proxyHost=user entered host
systemProp.http.proxyPort=user entered port
I thought it would be easy. otherwise thanks again for your fast reply.
from dryrun.
Didn't know about this, so you're saying that if I add a gradle.properties with this:
systemProp.http.proxyHost=www.somehost.org
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=userid
systemProp.http.proxyPassword=password
it will work for you?
from dryrun.
Yes sure, in my case I use polipo so i use it like this without username and pass
systemProp.https.proxyHost=localhost
systemProp.https.proxyPort=8123
systemProp.http.proxyHost=localhost
systemProp.http.proxyPort=8123
One for http and one for https. Also you can do it without creating a gradle.properties file, but also with cli
Like this
gradlew -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8123 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=8123
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:
dryrun -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8123 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=8123
Hope these would help ;)
from dryrun.
Related Issues (20)
- How to fixed it ? HOT 1
- Gradle 2.4 HOT 1
- ERROR: While executing gem ... (Gem::FilePermissionError)
- ERROR: While executing gem ... (Gem::FilePermissionError) HOT 3
- Failed to install dryrun on windows HOT 3
- Could not determine java version from '11.0.2'. HOT 2
- Can't run JakeWharton's telecine app HOT 5
- Can't install on mac HOT 1
- Stopped working after updating to Mac OS Catalina HOT 4
- Facing problem on Windows 10 HOT 2
- where is dryrun installed? HOT 2
- Cannot download gradle during build HOT 1
- dryrun totally does not work HOT 8
- [MacOS] After updating 1.2.1 to 1.3.0 script stopped working - Permission denied HOT 1
- [Feature Request] Script is not working if repository was downloaded on different branch HOT 1
- Unable to install on Mac OS BigSur HOT 4
- having issue with installing in the windows 10 HOT 2
- OpenTimeOut HOT 2
- No longer works on projects whose master branch is renamed "main".
- Option to specify SDK location HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dryrun.