Please configure the proxy settings either in IDE or Gradle

Добрый день!
Подскажите, пожалуйста, что нужно сделать?
Studio v.11.3
Работаем через proxy.
Создаём пустой проект test1.
При попытке запуска пишет:

14:15:00: Executing tasks ‘setupTomcat deploy’…

Task :setupTomcat
Task :setupTomcat FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:setupTomcat’.

Could not resolve all files for configuration ‘:tomcat’.
Could not resolve org.apache.tomcat:tomcat:9.0.14.
Required by:
project :
Could not resolve org.apache.tomcat:tomcat:9.0.14.
Could not get resource ‘https://dl.bintray.com/cuba-platform/main/org/apache/tomcat/tomcat/9.0.14/tomcat-9.0.14.pom’.
Could not GET ‘https://dl.bintray.com/cuba-platform/main/org/apache/tomcat/tomcat/9.0.14/tomcat-9.0.14.pom’.
Connect to dl.bintray.com:443 [dl.bintray.com/52.57.53.1, dl.bintray.com/35.159.36.230] failed: Connection timed out: connect
Could not resolve org.apache.tomcat:tomcat:9.0.14.
Could not get resource ‘https://jcenter.bintray.com/org/apache/tomcat/tomcat/9.0.14/tomcat-9.0.14.pom’.
Could not GET ‘https://jcenter.bintray.com/org/apache/tomcat/tomcat/9.0.14/tomcat-9.0.14.pom’.
Connect to jcenter.bintray.com:443 [jcenter.bintray.com/52.57.53.1, jcenter.bintray.com/35.159.36.230] failed: Connection timed out: connect

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 27s
1 actionable task: 1 executed
Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
14:16:29: Tasks execution finished ‘setupTomcat deploy’.

Через браузер указанные в протоколе адреса доступны.
Пробовали в папке .gradle создать gradle.properties с указанием systemProp.http.proxyHost и порт. Не помогло.

Что можно сделать, чтобы проект смог запуститься?

Вопрос снят.
gradle.properties положили в корень проекта. Всё заработало.

1 симпатия

Отметьте свой пост с решением как “ответ”. У автора темы есть такая возможность.