Gradle build failure / connection reset / not a cuba project

Download https://repo.cuba-platform.com/content/groups/work/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.jar

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ‘:app-core’.

Could not download groovy-all.jar (org.codehaus.groovy:groovy-all:2.4.15)
Could not get resource ‘https://repo.cuba-platform.com/content/groups/work/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.jar’.
Connection reset

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

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

CONFIGURE FAILED in 2m 34s