Compiling with konan behind proxy


#1

Hello.

How to specify proxy settings for konan?
I tried to start it with
konanc hello.kt -Dhttp.proxyHost=10.0.0.100 -Dhttp.proxyPort=8800
and also tried to specify system variable at Windows
set JAVA_FLAGS=-Dhttp.proxyHost=10.0.0.100 -Dhttp.proxyPort=8800
but it fails on
Download native dependencies…

Thank you!


#2

set JVM_OPTS=-Dhttp.proxyHost=xxx -Dhttp.proxyPort=yyy -Dhttps.proxyHost=xxx -Dhttps.proxyPort=yyy

did the trick for me