Error connecting to url https://repo.cuba-platform.com/content/groups/work

We have problems when starting projects in Studio, we are behind a proxy server, we have configured all the possible connection options and still do not give error “Repository contains cuba artifacts not found in:” What we need to enable for Studio to work correctly?
Proxy Java

proxy java

Proxy settings in studio.bat

--Proxy
set JAVA_OPTS=%JAVA_OPTS% "-Dhttp.proxyHost=xxxx.xxxx.com"
set JAVA_OPTS=%JAVA_OPTS% "-Dhttp.proxyPort=8080"
set JAVA_OPTS=%JAVA_OPTS% "-Dhttps.proxyHost=xxxx.xxxx.com"
set JAVA_OPTS=%JAVA_OPTS% "-Dhttps.proxyPort=8080"

We need help we are 3 developers that we have not been able to advance.

Try to specify your proxy settings in the JAVA_OPTS global environment variable, because Gradle needs them too. It’s mentioned in the docs.

Thanks Konstantin, it worked.