Problem with opening project

Hi! I’ve not opened my project for a while and now encountered the problem. I’ve changed repository to repo.cuba-platform.com and now getting such error while opening project:

A problem occurred configuring root project ‘ncc’.

Could not resolve all artifacts for configuration ‘:classpath’.
Could not resolve gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:0.5.
Required by:
project : > com.haulmont.gradle:cuba-plugin:7.2.12
Could not resolve gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:0.5.
Could not get resource ‘https://repo.cuba-platform.com/service/local/repositories/bintraymain/gradle/plugin/org/jetbrains/gradle/plugin/idea-ext/gradle-idea-ext/0.5/gradle-idea-ext-0.5.pom’.
Could not HEAD ‘https://repo.cuba-platform.com/service/local/repositories/bintraymain/gradle/plugin/org/jetbrains/gradle/plugin/idea-ext/gradle-idea-ext/0.5/gradle-idea-ext-0.5.pom’. Received status code 401 from server: Unauthorized

  • 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.

Solved. I’d to use:

    maven {
        url 'https://repo.cuba-platform.com/content/groups/work'
        credentials {
            username('cuba')
            password('cuba123')

        }
    }
1 Like