Git Product home page Git Product logo

Comments (6)

cesarferreira avatar cesarferreira commented on May 12, 2024

Hey, thanks for the compliment.
You mean provide a proxy because you can't access maven?

from dryrun.

mohammadrafigh avatar mohammadrafigh commented on May 12, 2024

unfortunately some maven and gradle repositories have restrictions in my country.

from dryrun.

cesarferreira avatar cesarferreira commented on May 12, 2024

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.

mohammadrafigh avatar mohammadrafigh commented on May 12, 2024

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.

cesarferreira avatar cesarferreira commented on May 12, 2024

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.

mohammadrafigh avatar mohammadrafigh commented on May 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.