Could not resolve com.haulmont.gradle:cuba-plugin:7.1.7

We have an application in production that is on version 7.1.7. We cannot upgrade to 7.2.x due to breaking changes and the lack of resources to perform the upgrade.

Last Friday, a developer initiated a project to add new functionality to this application and due to the deprecation of bintray documented here - Important: shutdown of the Bintray and Jcenter repositories - CUBA.Platform (cuba-platform.com) switched to https://dl.bintray.com/cuba-platform with the premium set to https://repo.cuba-platform.com/content/groups/premium with our premiumRepoUser and premiumRepoPass set.

When building the application the error is displayed below.

A problem occurred configuring root project 'FINS'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve com.haulmont.gradle:cuba-plugin:7.1.7.
     Required by:
         project :
      > Could not resolve com.haulmont.gradle:cuba-plugin:7.1.7.
         > Could not get resource 'https://repo.cuba-platform.com/content/groups/premium/com/haulmont/gradle/cuba-plugin/7.1.7/cuba-plugin-7.1.7.pom'.
            > java.lang.NullPointerException (no error message)

I can login to the Nexus Repository Manager with our username and password and can search for cuba-platform and see all of the versions, including 7.1.7.

Any ideas on how to resolve this?

Mike.

Check that besides the premium repo, you also have the public one:

    repositories {
        maven {
            url 'https://repo.cuba-platform.com/content/groups/work'
            credentials {
                username(rootProject.hasProperty('repoUser') ? rootProject['repoUser'] : 'cuba')
                password(rootProject.hasProperty('repoPass') ? rootProject['repoPass'] : 'cuba123')
            }
        }
// ...

Thank you @krivopustov. I had a public repo, just not the correct path after I changed it from bintray.