Dependences from maven repo. Gradle have 403 error but maven works well

Dependences from maven repo. Gradle have 403 error but maven works well.
gradle build:

Could not resolve sbp.ts. ... -client:4.4.5.
     Required by:
         project :
      > Could not resolve sbp.ts. ... -client:4.4.5.
         > Could not get resource 'http://nexus. ... -client-4.4.5.pom'.
            > Could not HEAD 'http://nexus. ... -client-4.4.5.pom'. Received status code 403 from server: Forbidden

Repo in build.gradle:

maven {
            url 'http://nexus. ... /Platform_release/'
            credentials {
                username 'usr'
                password 'pwd'
            }
}
implementation 'sb.ts.pkg:name-client:4.4.5'

But maven version of the app works well.

Whot i did wrong?


Gradle 6.8.3

Build time: 2021-02-22 16:13:28 UTC
Revision: 9e26b4a9ebb910eaa1b8da8ff8575e514bc61c78

Kotlin: 1.4.20
Groovy: 2.5.12
Ant: Apache Antâ„¢ version 1.10.9 compiled on September 27 2020
JVM: 11.0.8 (AdoptOpenJDK 11.0.8+10)
OS: Windows 10 10.0 amd64