Am 05.11.2015 um 15:40 schrieb Yaroslav Halchenko:
> Package: gradle
> Version: 2.5-3
> Severity: wishlist
> Most probably it is not gradle's issue but somewhere within Java's ecosystem 
> of
> libraries it uses.  I just have no clue in that world and would appreciate if
> you forward this bug accordingly
> It is quite often desired to restrict access to network and it is common to do
> so by providing http_proxy env variable(s) to point to a bogus proxy server,
> technique often used in debian/rules.  But it seems that gradle just ignores
> those and happily downloads stuff from the web.
> $> http_proxy=http://localhost:9 https_proxy=http://localhost:9 gradle build  
> :compileJava
> :processResources
> :classes
> :jar
> :assemble
> :compileTestJava
> Download 
> Download 
> ...


this is explained in Gradle's online manual at

You have to pass the proxy values to the JVM or you can edit accordingly. The version of gradle in Debian also
prevents projects from downloading anything from the web, if you use
gradle-debian-helper for instance.



Attachment: signature.asc
Description: OpenPGP digital signature

This is the maintainer address of Debian's Java team
Please use for discussions and questions.

Reply via email to