Your message dated Thu, 5 Nov 2015 10:27:56 -0500
with message-id <20151105152756.gy7...@onerussian.com>
and subject line Re: Bug#804156: warrant (restrictive) http*_proxy env variables
has caused the Debian Bug report #804156,
regarding warrant (restrictive) http*_proxy env variables
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
804156: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804156
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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 
http://maven.xnat.org/libs-release/com/github/tomakehurst/wiremock/1.50/wiremock-1.50.pom
Download http://maven.xnat.org/libs-release/xmlunit/xmlunit/1.5/xmlunit-1.5.pom
...


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-rc7+ (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gradle depends on:
ii  default-jre-headless    2:1.7-52
ii  libgradle-core-java     2.5-3
ii  libgradle-plugins-java  2.5-3

Versions of packages gradle recommends:
ii  default-jdk              2:1.7-52
ii  libcodenarc-groovy-java  0.17-2
ii  scala                    2.11.6-1

gradle suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Thu, 05 Nov 2015, Markus Koschany wrote:

> this is explained in Gradle's online manual at

> https://docs.gradle.org/current/userguide/build_environment.html

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

Hi Markus

thank you for your quick reply!  RTFMing helped to discover the
--offline for gradle so I could satisfy my needs. thanks!  I guess I
will just close this issue for now with that


-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        

--- End Message ---

Reply via email to